Commit Graph

49 Commits

Author SHA1 Message Date
BoykoAlex
5764b82fa7 Remove console.log() call 2020-06-11 14:48:09 -04:00
BoykoAlex
08b1b4de23 Add setting to enable/disable JVM checking. "Do not show again" button for warning msg 2020-06-11 13:43:21 -04:00
nsingh@pivotal.io
e01a48b16c PT 168776173 - Progress service improvements in vscode
Fixed a bug and made some improvements in the vscode progress service
such that messages for the same task id can be sent to the same open progress
UI. Previously, the progress UI in vscode will close after the first
message and it was not possible to have a continuous stream
of progress messages appearing in the same open progress UI.
2019-11-14 14:04:59 -08:00
Kris De Volder
b9c491466f Do not auto-redirect language server logs to file
See: https://github.com/spring-projects/sts4/issues/328
2019-07-22 15:12:54 -07:00
Martin Lippert
855887dc08 added vmarg to stop tiered compilation at level 1 2019-07-10 17:03:05 +02:00
BoykoAlex
f53070f3b5 PT #165978425: Exploded LS Jar for VSCode 2019-05-14 14:40:40 -04:00
BoykoAlex
737460ae90 PT #152866825: Progress UI for vscode client 2019-05-10 18:00:56 -04:00
Kris De Volder
4230f16fa8 Add support to vscode-spring-boot for custom vm args 2019-04-02 11:30:31 -07:00
BoykoAlex
db429f9c21 PT #162167333: Ask JDT server for hover links (Eclipse, VSCode) 2018-12-11 18:41:33 -05:00
Kris De Volder
6717306d8f Convert language servers to Boot apps 2018-10-02 15:39:15 -07:00
nsingh
e125d1de75 PT-160007578: Check if commands exist before registering in vscode 2018-08-28 16:47:11 +02:00
BoykoAlex
374b5f0ad7 CodeLens for boot hints in VSCode 2018-08-16 13:38:40 -04:00
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
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
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
12b788c1f3 Improve error handling in failure to find JRE in JAVA_HOME 2018-02-09 18:01:26 -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
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