Commit Graph

2247 Commits

Author SHA1 Message Date
BoykoAlex
0f5282d26a Theia IDE CF-Manifest-YAML client - missing files 2018-04-20 10:06:31 -04:00
Kris De Volder
76f40bd9f8 Merge branch 'master' of github.com:spring-projects/sts4 2018-04-19 13:59:52 -07:00
Kris De Volder
052242d46c No getDocumentation().getLeft() directly in test code 2018-04-19 13:59:36 -07:00
BoykoAlex
6bd798b3fd Theia IDE CF-Manifest-YAML client 2018-04-19 16:36:59 -04:00
nsingh
76775db3fe PT 154618835 - Improve memory footprint of CompilationUnit cache 2018-04-19 22:26:50 +02:00
Kris De Volder
c1f4458c35 Add proper stub for add/removeClasspathListener
LSP4J doesn't handle it well if the stub returns
null.
2018-04-19 11:55:59 -07:00
Kris De Volder
5fb9606ac4 Fix failing test cases 2018-04-19 10:38:55 -07:00
nsingh
a90d6c754d Fixed compilation errors due to LSP4J changes 2018-04-19 16:29:52 +02:00
Kris De Volder
590482c418 Implement support for Eclipse-based classpath service
Note: this requires changes to LSP4e to support
to provide the means to execute commands, by dispatching
command execution to the server that registered it.
2018-04-17 13:22:50 -07:00
Kris De Volder
d29254f167 Merge branch 'master' of github.com:spring-projects/sts4 2018-04-17 09:21:23 -07:00
nsingh
aba562402e Fixed compilation errors due to Hover API changes 2018-04-17 14:43:41 +02:00
Kris De Volder
8f8fbc0f8e More code moved from jdt.ls.extension to jdt.ls.commons
jdt.ls extension reduced to a simple wrapper that forwards requests
to commons implementation.
2018-04-16 16:09:11 -07:00
Kris De Volder
8d55c8e956 Cleanup debug logging 2018-04-16 14:34:10 -07:00
Kris De Volder
6f2b8be802 Split jdt ls extension into two parts
One pugin to contain the bulk of the code, which is independent of jdt.ls, lsp4e and lsp4j.
Second plugin to contain the jdt.ls specific DelegateCommandHandler implementation.

This should allow us to somehow re-use the bulk of the code in STS4 eclipse, i.e. when
we have access to JDT from eclipse directly, and there is no jdt.ls process around.
2018-04-16 14:24:42 -07:00
Kris De Volder
704fdaa21d Reduce verbosity of 'change even with wrong verson' warning. 2018-04-11 16:38:48 -07:00
nsingh
a8d455e3d6 Some refactoring into CfJson 2018-04-06 08:12:57 -07:00
nsingh
a6cdf340a3 Removed unused method 2018-04-06 06:21:06 -07:00
nsingh
9a41fe266a Added junit to test actual CF client in LS using LS target cache 2018-04-06 06:02:46 -07:00
nsingh
a059716595 Renamed Json params provider to CF targets info provider 2018-04-06 03:52:03 -07:00
nsingh
c48c206985 Minor refactoring of params provider constructor 2018-04-06 03:43:16 -07:00
nsingh
f8f267e69d PT 156111958 - Replace map with CfTargetInfo type
CfTargetInfo is used for integration with external CF tools like boot
dash.
2018-04-06 00:55:38 -07:00
BoykoAlex
d57b4745dd PT #155293325: Adopt Boot 2 mappings bean new JSON data 2018-04-05 19:57:39 -04:00
Kris De Volder
36512e3337 Avoid 'Widget is disposed' error. 2018-04-05 16:33:00 -07:00
Kris De Volder
23df3f3ae4 Udpate cf-java client to 3.8.0.RELEASE 2018-04-05 12:07:59 -07:00
Kris De Volder
b684bf0d20 Fix bug causing NPE in launch-util 2018-04-02 17:28:21 -07:00
Kris De Volder
b78efcde18 Fix tsc compile issues
Module commons-vscode renamed
2018-04-02 10:29:47 -07:00
Kris De Volder
e6723005df Try fix CI build 2018-04-02 09:55:47 -07:00
Kris De Volder
c4da17aa72 Make commons-vscode a scoped package 2018-04-02 09:40:49 -07:00
Martin Lippert
58caf0d03e removed rse from pre-installed features, not there anymore in photon 2018-03-29 12:25:51 +02:00
Kris De Volder
749c0b7943 Fix some more race conditions in JdtLsProjectCache 2018-03-27 13:32:52 -07:00
Kris De Volder
54a2bb9d47 Fix bug in JdtLsProejctCache table lookup 2018-03-27 12:56:49 -07:00
Kris De Volder
db5b0e2dde Merge branch 'master' into jdt-classpath 2018-03-27 11:41:16 -07:00
Kris De Volder
57fa91fe5c Fix a bunch of race conditions in SpringIndexer and its tests 2018-03-27 11:39:24 -07:00
Kris De Volder
502d04d5a3 Cleanups before merging to master
Use proper jdt.ls snapshot udate site instead of locally built one.
Re-enable test running in spring-boot language server.
Remove debug flags from vscode-spring-boot launcher.
2018-03-27 09:45:23 -07:00
Kris De Volder
0c70f4200e Fix race condition in SpringIndexer initialization 2018-03-26 17:05:35 -07:00
Kris De Volder
3d9752cbdb Proper 'async' support for JdtLs fallback 2018-03-26 15:33:47 -07:00
Kris De Volder
13633746cb Ensure fallbacks kick in JDT LS
When either JDT LS is too old, or
not available... then disbabled the JdtLsProjectCache so that maven / gradle will be used instead.
2018-03-26 14:51:36 -07:00
Martin Lippert
b5b71d6e05 removed 4.7 based builds from snapshot builds 2018-03-24 11:34:18 +01:00
Kris De Volder
9bc0c20937 Revert "Disable JDT LS classpath support"
This reverts commit 07b7c313f4.
2018-03-22 12:26:14 -07:00
Kris De Volder
a8707545a3 Fix failing test 2018-03-22 12:09:33 -07:00
Kris De Volder
07b7c313f4 Disable JDT LS classpath support 2018-03-22 11:51:43 -07:00
Kris De Volder
3f32361e7e More debug logging for SpringIndexer
To help debug race conditions.
2018-03-22 11:48:50 -07:00
Kris De Volder
94151f8908 Fix race condition in test.
Make onInitialized mechanism in SimpleLanguageServer more 'robust' w.r.t. to
subtle timing issues.

The intention of onInitalize is typically to guarantee some initialization code.
Therefore it should also be called even if the 'initialized' even is already past.
2018-03-22 11:45:39 -07:00
Kris De Volder
a5141432d1 Fix some logging issues 2018-03-21 17:08:27 -07:00
Kris De Volder
c2a4ea6286 Merge branch 'master' into jdt-classpath 2018-03-21 14:36:02 -07:00
Martin Lippert
48aae5bc9e add early java10 support 2018-03-21 18:59:54 +01:00
Kris De Volder
7482c26ccb Trying to improve the 'cleanup' of classpath listeners 2018-03-20 17:23:35 -07:00
Kris De Volder
f737f06228 Renamed executeCommand to executeClientCommand
Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2018-03-20 15:15:05 -07:00
Kris De Volder
ceaca41c3d Some tweaks to ProjectObserver.Listener users 2018-03-20 14:57:11 -07:00
Kris De Volder
90e52ab6e0 Update build.sh to require less changes in jdt.ls and vscode-java 2018-03-20 14:56:33 -07:00