eugene yokota
4c435a5adb
Merge pull request #3791 from eed3si9n/wip/serverLog
...
Fixes server log hardcoded to debug level
2017-12-04 13:33:27 -05:00
Eugene Yokota
93b3391167
Fixes server log hardcoded to debug level
...
Fixes #3786
To configure the log level of the server, this introduces a new task key named `serverLog`. The idea is to set this using `Global / serverLog / logLevel`. It will also check the global log level, and if all else fails, fallback to Warn.
```
lazy val level: Level.Value = (s get serverLogLevel) orElse (s get logLevel) match {
case Some(x) => x
case None => Level.Warn
}
```
2017-12-02 15:20:54 -05:00
eugene yokota
8db6cd7a9e
Merge pull request #3785 from eed3si9n/wip/vscode-bump
...
Bump vscode-sbt-scala version to 0.1.0
2017-11-30 12:37:47 -05:00
Eugene Yokota
62ecd417da
Bump vscode-sbt-scala version to 0.1.0
2017-11-30 12:35:40 -05:00
eugene yokota
74ddddc8e5
Merge pull request #3782 from eed3si9n/wip/bump
...
Merge 1.0.x + bump modules
2017-11-30 10:23:14 -05:00
Eugene Yokota
6ed3c0f534
more notes
2017-11-30 00:01:33 -05:00
Eugene Yokota
8031bb0f83
notes
2017-11-29 23:45:28 -05:00
Eugene Yokota
c5d578815c
catch IOException intead of SocketException
...
`NGUnixDomainSocket` throws `java.io.IOException` instead of `SocketException`, probably because `SocketException` does not expose the contructor with a `Throwable` parameter.
To allow clients to disconnect, we need to catch `IOException`.
2017-11-29 22:42:58 -05:00
Eugene Yokota
d193d302f0
lm 1.1.0
2017-11-29 22:31:57 -05:00
Eugene Yokota
824cfdf527
Add header
2017-11-29 17:12:40 -05:00
Eugene Yokota
ff004993e0
Bump modules
2017-11-29 16:53:40 -05:00
Eugene Yokota
a6eb1260c8
Merge branch '1.0.x' into wip/bump
2017-11-29 16:45:02 -05:00
Dale Wijnand
c02baa177e
Merge pull request #3779 from eed3si9n/wip/onNotification
...
LSP: added handler for notification messages
2017-11-29 08:10:42 +00:00
Eugene Yokota
6a996378c7
return Either[String, JsonRpcMessage]
2017-11-29 01:00:46 -05:00
Eugene Yokota
e4dd090d0c
Add debug log on unhandled notification
2017-11-29 00:51:16 -05:00
Alexey Alekhin
c689821383
Added deserialization for NotificationMessage and used it in handleBody
2017-11-29 00:46:18 -05:00
Alexey Alekhin
36e079d12b
Added onNotification handler for the LSP CommandChannel
2017-11-29 00:46:18 -05:00
eugene yokota
138fb58cae
Merge pull request #3776 from dwijnand/alt-scala-parser-sync-workaround
...
Alt scala parser sync workaround
2017-11-28 23:36:58 -05:00
eugene yokota
1d4b8525a9
Merge pull request #3772 from dwijnand/run-from-source-main
...
Create RunFromSourceMain & "sbtOn" command
2017-11-28 23:36:37 -05:00
eugene yokota
164b29da22
Merge pull request #3777 from eed3si9n/wip/vsc-definition
...
textDocument/definition for LSP / VS Code
2017-11-28 14:47:09 -05:00
wpopielarski
452e97e41d
Adds backticks to class/trait/object name.
...
Adapts tests to changed specs2 dependency.
Tiny fixes.
Removes Scala IDE compiler clues.
2017-11-28 13:27:15 -05:00
wpopielarski
73b0034cfc
textDocument/definition for LSP / VS Code
...
This is an implementation of `textDocument/definition` request.
Supports types only, and only in case when type is found in Zinc Analysis. When source(s) are found then editor opens potential source(s).
This simple implementation does not use semantic data.
During the processing of `textDocument/didSave`, we will start collecting the location of Analysis files via `lspCollectAnalyses`.
Later on, when the user asked for `textDocument/definition`, sbt server will invoke a Future call to lspDefinition, which direct reads the files to locate the definition of a class.
2017-11-28 13:27:07 -05:00
Dale Wijnand
9c32c16ade
Create RunFromSourceMain & "sbtOn" command
2017-11-28 17:27:02 +00:00
Dale Wijnand
297fd5d24b
Merge pull request #3742 from eed3si9n/wip/socket
...
IPC Unix domain socket / Windows named pipe
2017-11-28 16:04:11 +00:00
Dale Wijnand
ee90917cc4
Alt scala parser sync workaround
...
Apply retronym's suggestion at https://github.com/scala/bug/issues/10605
instead of the workaround merged in https://github.com/sbt/sbt/pull/3743 .
2017-11-28 12:00:38 +00:00
Eugene Yokota
ef61a1efa7
Read just the amount of bytes available
2017-11-27 21:37:37 -05:00
Eugene Yokota
f785750fc4
IPC Unix domain socket for sbt server
...
In addition to TCP, this adds sbt server support for IPC (interprocess communication) using Unix domain socket and Windows named pipe.
The use of Unix domain socket has performance and security benefits.
2017-11-27 21:37:31 -05:00
Eugene Yokota
0c803214aa
IPC Unix Domain Socket and Windows Named Pipe sockets
...
The Java socket implementation for IPC is lifted from facebook/nailgun.
af623fdded /
2017-11-27 21:36:25 -05:00
eugene yokota
e6165464ba
Merge pull request #3740 from laughedelic/wip/logmessage
...
LSP: improve logMessage notifications
2017-11-27 20:51:50 -05:00
Dale Wijnand
5b0b9e2ba2
Add node_modules to .gitignore
2017-11-27 16:52:48 +00:00
Dale Wijnand
ac5a30142a
Merge pull request #3770 from xuwei-k/specs2-4
...
update specs2 4.0.1
2017-11-26 09:15:28 +00:00
eugene yokota
8e933fcda4
Merge pull request #3768 from eed3si9n/wip/bump_modules
...
Bump modules
2017-11-26 03:49:14 -05:00
Eugene Yokota
1d8d1a1622
Zinc 1.0.5
2017-11-26 02:26:04 -05:00
xuwei-k
6b4093dc15
update specs2 4.0.1
2017-11-26 13:59:50 +09:00
Eugene Yokota
f44dcef14d
notes
2017-11-25 05:26:51 -05:00
Eugene Yokota
309fdfac31
Bump modules
2017-11-25 00:27:45 -05:00
Dale Wijnand
c517517927
Merge pull request #3754 from Duhemm/remove-useless-files
...
Remove 2 useless files in protocol
2017-11-23 12:22:15 +00:00
Dale Wijnand
97a2fe8c1c
Merge pull request #3762 from xuwei-k/fix-screpl
...
fix #3591 . "Not a valid key: console-quick"
2017-11-23 09:58:36 +00:00
Dale Wijnand
d45f817b71
Merge pull request #3763 from xuwei-k/Completions-strict
...
make strict some methods in Completions
2017-11-23 09:56:04 +00:00
xuwei-k
b8086e0768
make strict some methods in Completions
2017-11-23 15:21:02 +09:00
xuwei-k
8ee413778a
fix #3591 . "Not a valid key: console-quick"
2017-11-23 14:56:52 +09:00
Martin Duhem
238540d34a
Remove 2 useless files in protocol
...
They have been moved to Contraband since, but never removed.
2017-11-21 10:46:57 +01:00
Dale Wijnand
17762947e4
Merge pull request #3744 from cunei/wip-port-zinc-pr-441
...
Port of sbt/zinc#441 to sbt/sbt 1.0.x
2017-11-16 16:29:15 +00:00
Antonio Cunei
43a976d42c
Port of sbt/zinc#441 to sbt/sbt 1.0.x
2017-11-16 15:15:21 +01:00
Dale Wijnand
8fe38d4a5a
Merge pull request #3743 from cunei/wip-flakyTests1
...
Workaround for scala/bug#10605
2017-11-16 10:58:53 +00:00
Antonio Cunei
a050b73a46
Workaround for scala/bug#10605
...
templateStats() is not thread-safe in 2.12.x (at least up to 2.12.4)
2017-11-15 05:27:31 +01:00
Alexey Alekhin
8fe1934ea0
Tweaked MessageType.fromLevelString conversion
2017-11-14 21:53:57 +01:00
Alexey Alekhin
0c0e0ce912
Log StringEvents and MessageEvents to the LSP client
2017-11-14 21:53:29 +01:00
Alexey Alekhin
6b6047b55c
Publish ExecStatusEvent taking into account its channel name
2017-11-14 21:53:15 +01:00
Dale Wijnand
c3f9cf800e
Merge pull request #3719 from eed3si9n/wip/launcher
...
Bump launcher to 1.0.2
2017-11-08 10:28:52 +00:00