Commit Graph

161 Commits

Author SHA1 Message Date
BoykoAlex
984eafc2c0 PT #157668103: Switch to Gson where possible - except Bosh 2018-05-17 16:39:13 -04:00
Kris De Volder
ecc2724822 Fix bug in UriUtil.normalize and add some test cases for it. 2018-05-10 15:15:52 -07:00
BoykoAlex
0f04a67643 Hovers navigation for theia-spring-boot 2018-05-09 14:31:15 -04:00
Kris De Volder
16a56a5fdc Refactor, fix and simplify classpath infrastructure 2018-04-30 10:10:56 -07:00
Kris De Volder
d72d4b7bc8 Implement getSourceFolders in JdtLsClasspath
Also various refactoring and bug fixing
2018-04-24 11:56:05 -07:00
Kris De Volder
18c22edb2d Remove unused code 2018-04-20 15:44:34 -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
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
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
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
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
c2a4ea6286 Merge branch 'master' into jdt-classpath 2018-03-21 14:36:02 -07:00
Kris De Volder
7482c26ccb Trying to improve the 'cleanup' of classpath listeners 2018-03-20 17:23:35 -07:00
Kris De Volder
9be6fd9601 Bump version to 0.2.1 2018-03-19 19:08:28 +00:00
Kris De Volder
42772a42dc Bump version to 0.3.0 2018-03-19 18:54:14 +00:00
Kris De Volder
1d287b0529 Fixes related config settings now being JsonElement 2018-03-19 11:25:31 -07:00
Kris De Volder
a28990512e Update reactor to 3.1.5 and fix an NPE caused by misused api 2018-03-16 15:45:57 -07:00
Kris De Volder
9473dfd75a Send 'initial' classpath change events
Classpath events for all existing projects are sent when
a listener registers (in addition to events that are sent when
the classpath changes).
2018-03-16 14:29:27 -07:00
nsingh
e16cb6a9c9 Classpath change events now contain classpath info 2018-03-16 12:07:58 -07:00
Kris De Volder
39ffe531e6 Attempt to implement some classpath callback cleanups 2018-03-15 17:43:17 -07:00
Kris De Volder
64a45984ce Make 'initialized' callbacks execute on async thread 2018-03-15 15:54:49 -07:00
Kris De Volder
f442c28bff Partially working classpath change mechanics
Prints messages in language server logs, but doesn't really do anything else with the change events yet.
2018-03-15 15:24:19 -07:00
Kris De Volder
93f58f77b9 Merge branch 'master' into jdt-classpath 2018-03-15 09:13:38 -07:00
Kris De Volder
fcb4473025 Partial implementation of 'jdt.ls.addClasspatListener' support 2018-03-15 08:56:18 -07:00
Kris De Volder
cc2c173091 Bump version to 0.2.0 2018-03-15 15:26:37 +00:00
nsingh
285e4fe811 Initial implementation for adding classpath listener 2018-03-14 14:42:35 -07:00
Martin Lippert
62bd6a02b4 add basic support for document highlight feature to common ls pieces 2018-03-13 19:26:19 +01:00
Kris De Volder
bbbda87936 Merge branch 'master' into jdt-classpath 2018-03-13 10:06:42 -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
Kris De Volder
efe8049bba Bump version to 0.1.6 2018-03-09 22:11:06 +00: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
BoykoAlex
bca56a2124 PT #155800737: Adopted lsp4j change in parsing CompletionItem message 2018-03-08 11:28:28 -05:00
Kris De Volder
d035c26a28 Cleanup some debug logging 2018-03-07 11:58:21 -08:00
Kris De Volder
5171b0c4fe Fix multi-root initialization in SimpleWorkspaceService 2018-03-05 15:51:34 -08:00
Kris De Volder
6fd38e61a5 Bump version to 0.1.5 2018-02-22 23:24:47 +00:00
Kris De Volder
1e567e6a11 Proper support Set<?> types in .properties editor. 2018-02-20 12:05:05 -08:00
Kris De Volder
837aaff897 BootLanguageServer created by composing support for props / java together 2018-02-15 15:18:17 -08:00
Kris De Volder
c03a5474ce Re-unite WORKSPACE_CAPABILITY_ID and WORKSPACE_CAPABILITY_NAME
Seems odd to separate these into two different locations.
2018-02-15 10:51:12 -08:00
Martin Lippert
88f42ae6c2 register workspace folder support with initial server capabilities to avoid race conditions on the client 2018-02-15 13:18:13 +01:00
Kris De Volder
046f16dbf2 Componentized the BootJavaLanguageServer 2018-02-14 16:45:08 -08:00
Kris De Volder
9d89229cea Make some LanguageServerComponents optional 2018-02-14 13:51:40 -08:00
Martin Lippert
892cc31f95 removed self-maintained workspace folder support code due to its support in lsp4j 0.4.0 snapshots 2018-02-14 16:54:56 +01:00
Kris De Volder
63c976d3fa Changes towards composable language servers 2018-02-13 15:08:12 -08:00
Kris De Volder
5c19bdefe6 Some steps towards mergin boot-java and boot-properties LS
- Refactor towards more composable LanguageServers
- disable fatjar support on boot-java and boot-properties
2018-02-09 09:49:21 -08:00
Martin Lippert
6685beb68b fixed an exception when executing code completion on a non-boot java project 2018-02-02 12:59:19 +01:00
Kris De Volder
a9515831d1 Bump version to 0.1.4 2018-01-31 00:00:04 +00:00
BoykoAlex
f5f79065af Merge branch 'master' of https://github.com/spring-projects/sts4 2018-01-19 19:27:40 -05:00
BoykoAlex
286d435d53 PT #151978919 VSCode navigation to resource from hovers (POC) 2018-01-19 19:26:29 -05:00