Commit Graph

45 Commits

Author SHA1 Message Date
Kris De Volder
31482dc34d Remove obsolete 'sts/project' service support 2018-06-04 13:14:09 -07:00
BoykoAlex
1b33036794 PT #156965730: Get Javadoc from JDT LS or eclipse client via sts/javadoc 2018-05-31 22:19:28 -04:00
nsingh
ae531ff78c Show live hovers on all open editors in vscode 2018-05-04 18:31:24 -07:00
Kris De Volder
15e3230e3b Allow overriding vscode language server options
JAVA_HOME and heap can now be overridden by the user from
vscode worspace settings, in a similar way for all our language servers,
by setting XXX.java.home and XXX.java.heap configuration keys.
2018-05-03 12:41:55 -07:00
Kris De Volder
b684bf0d20 Fix bug causing NPE in launch-util 2018-04-02 17:28:21 -07:00
Kris De Volder
7482c26ccb Trying to improve the 'cleanup' of classpath listeners 2018-03-20 17:23:35 -07:00
nsingh
e16cb6a9c9 Classpath change events now contain classpath info 2018-03-16 12:07:58 -07:00
Kris De Volder
fcb4473025 Partial implementation of 'jdt.ls.addClasspatListener' support 2018-03-15 08:56:18 -07:00
nsingh
328607f531 Streamline async handler API
Added an async handler for LS requests that should not run on the same
thread as LSP4J event loop. Also streamlined method signatures for
handlers and removed useless CompletableFuture.
2018-03-12 16:07:43 -07:00
nsingh
591adec33d Added JDT command for getting Java project
Also added a JDT Project cache in the Spring Boot LS
2018-03-09 12:05:31 -08:00
nsingh
a305e2ce53 Implement resolve classpath command 2018-03-08 15:18:42 -08:00
Kris De Volder
9f383a9b45 Switch vscode-spring-boot to properties launcher 2018-03-01 22:24:26 -08:00
Kris De Volder
40a6ad233f Adopt jvm-launch-util in commons-vscode 2018-02-27 12:32:43 -08:00
Kris De Volder
b3fa404a41 Cleanup some debug logging 2018-02-09 18:16:51 -08:00
Kris De Volder
12b788c1f3 Improve error handling in failure to find JRE in JAVA_HOME 2018-02-09 18:01:26 -08:00
Kris De Volder
f8891a4e8d One more attempt to fix jvm-util.ts to work better on Windows 2018-02-06 14:03:04 -08:00
Kris De Volder
07ca259445 Improved logic for jvm-util.ts so it will find JavaHome better on Windows 2018-02-06 12:01:56 -08:00
Kris De Volder
476dc27e0b More tweaks to vscode-boot-java jvm finding.
Look for a sibling JDK if the found java exe belongs to a jre.
2018-02-05 14:57:53 -08:00
Kris De Volder
a5b9956745 Improved logics for finding JVM / JDK in vscode-boot-java 2018-02-05 10:27:36 -08:00
Kris De Volder
67e5131718 More robust log file redirection.
I.e. directly redirect System.err stream to a file. 
Instead of trying to get a hodge-podge of different java logging systems to all  send output to the same file.
2018-01-31 14:47:40 -08:00
BoykoAlex
286d435d53 PT #151978919 VSCode navigation to resource from hovers (POC) 2018-01-19 19:26:29 -05:00
Kris De Volder
f136409df2 Make jvm heap size in vscode-concourse language server configurable by user 2018-01-05 14:50:21 -08:00
BoykoAlex
16888fe1fe PT #153612030 Don't show tools.jar message for Java 9 2017-12-29 13:22:00 -05:00
BoykoAlex
43817b95a8 Correct Java 9 detection for VSCode extensions 2017-12-13 12:30:52 -05:00
BoykoAlex
28f36ae9b7 Launch LS on Win from VSCode and Atom 2017-12-12 12:34:12 -05:00
Kris De Volder
c5df8812fa Some tweaks to log outpur redirection for vscode 2017-11-22 14:37:33 -08:00
Kris De Volder
0cf1e64608 WIP: exploring multi-root workspace protocol in vscode + boot java ls
Note: this code is not working, probably better to start over when the
time comes. This branch is saved just in case it helps seeing the kinds
of changes we might want/need to do.
2017-11-08 09:52:44 -08:00
BoykoAlex
b7a3b4649b Support VSCode extensions launch with JDK9 2017-10-11 11:42:10 -04:00
BoykoAlex
cc3a7add5e [PT-#151762870] boot-java launch support for VSCode 2017-10-10 19:10:33 -04:00
Kris De Volder
bbabae3bd6 Implement highlighter support for eclipse language servers 2017-10-04 14:43:20 -07:00
Kris De Volder
cdf2e9fa44 Add support for 'sts/highlight' protocol extension
Use it too highlight occurrences of the word 'foo' as an example of how to use this.
2017-10-03 16:27:58 -07:00
Kris De Volder
4a6b71f1fb Move cursor after insert required properties quickfix 2017-05-01 17:53:29 -07:00
Kris De Volder
954041182b Cleanup/remove custom protocol bits used by quickfixes
Make use of proper LSP V3 apis: `client/registerCapability`, `workspace/executeCommand` and `workspace/applyEdit` instead.
2017-04-20 10:21:57 -07:00
Kris De Volder
a83fbec945 Update to lsp protocol v3 2017-04-19 16:06:39 -07:00
Kris De Volder
4cfca1693f Fix mismatch between client/server name for 'sts.quickfix' command 2017-04-12 16:23:54 -07:00
Kris De Volder
2549956562 Make qucikfix infrastructure work across concourse and cf editors 2017-04-12 11:56:02 -07:00
Kris De Volder
aee00fb487 Add quickfix for missing properties in concourse editor 2017-04-11 17:08:03 -07:00
Kris De Volder
c91f64c38d Explicitly set heap size on vscode cf editor language server. 2017-01-31 16:10:43 -08:00
Kris De Volder
d044e5d5a6 PT- 138052499: Allow enabling verbose trace messages optionally
So its not turned on by default anymore
2017-01-20 10:33:21 -08:00
Martin Lippert
aff3fe5888 refactored the code to connect to a standalone language server process into the commons module 2017-01-20 13:56:50 +01:00
Kris De Volder
74cac95fcb Remove annoying 'Acticating ...' popup 2016-12-08 13:53:47 -08:00
Kris De Volder
5e98569cc7 show 'progress' message while building index. 2016-12-08 09:45:25 -08:00
Kris De Volder
c2cf531956 Create custom protocol for simple progress messages 2016-12-07 16:03:54 -08:00
Kris De Volder
d67f25481b Extract launch code from manifest-yml to commons-vscode 2016-11-14 09:59:49 -08:00
Kris De Volder
3dbf0b39d2 Inroduce 'commons-vscode' to share typescript code between vscode-exts 2016-11-10 14:51:24 -08:00