Commit Graph

76 Commits

Author SHA1 Message Date
BoykoAlex
984eafc2c0 PT #157668103: Switch to Gson where possible - except Bosh 2018-05-17 16:39:13 -04:00
BoykoAlex
bf7e0068e0 Make timeout time moderate for live hints tests 2018-05-10 17:29:16 -04:00
BoykoAlex
a88a33a647 Bump up live hints timeout for tests 2018-05-10 17:06:06 -04:00
nsingh
a640a62121 Remove live hover optimisation
Does not work when stopping running apps and having multiple editors
open.
2018-05-10 09:59:42 -07:00
nsingh
7f4967d0a6 PT 156688501 - Re-enable live hover optimisation
Live hovers are not published by the server if there are no running apps
in two consecutive update operations in the live hover watchdog. Also
fixed test cases that test no running apps.
2018-05-07 13:58:55 -07:00
Kris De Volder
9629b2f65b Increase highlights timeout in test harness
To see if it helps with test failing in CI build.
2018-04-30 13:05:32 -07:00
Kris De Volder
16a56a5fdc Refactor, fix and simplify classpath infrastructure 2018-04-30 10:10:56 -07:00
Kris De Volder
052242d46c No getDocumentation().getLeft() directly in test code 2018-04-19 13:59:36 -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
nsingh
aba562402e Fixed compilation errors due to Hover API changes 2018-04-17 14:43:41 +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
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
nsingh
285e4fe811 Initial implementation for adding classpath listener 2018-03-14 14:42:35 -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
Martin Lippert
d368d320d7 added test for webflux code lenses 2018-03-01 11:44:47 +01:00
Kris De Volder
d1b214a7ad Fix newline related test failures on Windows 2018-02-28 13:21:13 -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
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
Kris De Volder
7b315bdd74 Fix failing test cases due to harness issue. 2017-12-11 16:43:40 -08:00
Kris De Volder
0727f514bf Cleanup unused imports 2017-11-20 10:48:19 -08:00
Martin Lippert
f75a8b6941 Merge branch 'multi-root' 2017-11-17 20:05:10 +01:00
Kris De Volder
09407cb3ad Use annotation attributes in creation of @Bean symbols 2017-11-10 13:54:30 -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
nsingh
d094d966d9 PT 152535713 - Fix and additional junits covering fix 2017-11-03 14:33:40 -07:00
BoykoAlex
b38b2d758b Switch CU Cache to listen to doc open/change/close rather than files 2017-11-01 12:01:09 -04:00
Kris De Volder
71cbda64dd Merge branch 'master' of github.com:spring-projects/sts4
Conflicts:
	headless-services/boot-java-language-server/src/main/java/org/springframework/ide/vscode/boot/java/utils/ASTUtils.java
2017-10-31 14:36:27 -07:00
Kris De Volder
3a350af728 Warning hover when no actuator present 2017-10-31 14:29:08 -07:00
BoykoAlex
abfd198bf5 Compilation Unit cache 2017-10-31 16:05:17 -04:00
Kris De Volder
66843540f9 Timeout of 3000 ms still too short on the CI builds!? 2017-10-30 16:30:23 -07:00
Kris De Volder
ed8f0ff6cc Try fixing failing test case 2017-10-30 16:11:28 -07:00
Kris De Volder
f95660cfcb Add more test cases for @Component hovers.
Handle the case where bean id is set explicitly in the annotation.
2017-10-27 16:58:36 -07:00
Kris De Volder
4a0fde19f9 Generelaz live hover api to support multiple highlight ranges 2017-10-24 13:19:59 -07:00
Kris De Volder
c71d4cbf02 Add support to test harness for checking highlights. 2017-10-24 12:52:49 -07:00
BoykoAlex
55a439dc30 PT #151674858 Live boot hint decorations on/off 2017-10-20 20:55:05 -04:00
Kris De Volder
93dce1f334 Merge branch 'master' of github.com:spring-projects/sts4
Conflicts:
	headless-services/boot-java-language-server/src/test/java/org/springframework/ide/vscode/boot/java/requestmapping/test/RequestMappingLiveHoverTest.java
2017-10-18 16:39:58 -07:00
Kris De Volder
5ea32cf751 Cleaner dependency injection for BootJavaLanguageServer 2017-10-18 16:20:42 -07:00
nsingh
35ccb8dc90 Minor change to testing a correct file URI in test harness 2017-10-18 13:27:07 -07:00
nsingh
3c5923d5d2 Added test project for request mapping live hovers
Also added test case for live hover over type Request Mapping
2017-10-18 13:16:42 -07:00
BoykoAlex
d4a9907b0d PT #150740880: VSCode/Eclipse file watching. Back to project finder
Eclipse client file change listening mechanics

Reworked file/project observer implementation

Merge fixes
2017-10-16 14:08:51 -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
faa45b76c6 CloudConfig 'manual network' schema 2017-08-09 12:25:57 -07:00
Kris De Volder
caa8d180a3 Flesh out basic schema for CloudConfig.compilation sub props 2017-08-08 12:15:08 -07:00
Kris De Volder
775d715c35 Fix but around dedented snippets and completions 2017-08-02 10:42:03 -07:00
Kris De Volder
88c703e9e5 Snippets now mostly working all tests passing. 2017-08-02 09:11:13 -07:00
Kris De Volder
d9f2047bcf Snippet generator mostly working, still needs some tweaks / bug fixes. 2017-08-01 12:05:25 -07:00
BoykoAlex
574cd9e742 Completions testing with -Dlsp.completions.indentation.enable=true 2017-07-28 14:24:30 -04:00