Commit Graph

905 Commits

Author SHA1 Message Date
Kris De Volder
147f2548ae Fix failing test 2017-11-14 10:29:00 -08:00
Kris De Volder
09407cb3ad Use annotation attributes in creation of @Bean symbols 2017-11-10 13:54:30 -08:00
BoykoAlex
aa96122d5c PT #152680720 Support *.gradle build files 2017-11-08 18:42:24 -05: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
f3576e7ba7 PT #152509183 Use specific Gradle distro 2017-11-06 12:30:30 -05:00
Kris De Volder
cb7f0267f9 Try to make workspace symbol provider more 'reactive' 2017-11-03 17:42:47 -07:00
nsingh
d094d966d9 PT 152535713 - Fix and additional junits covering fix 2017-11-03 14:33:40 -07:00
Kris De Volder
546a81c3ce 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/conditionals/ConditionalsLiveHoverProvider.java
2017-11-03 09:59:47 -07:00
Kris De Volder
a70bc1a77f Add resource info to beans in injection reports 2017-11-03 09:58:06 -07:00
nsingh
a603de011a Added some docs explaining "positiveMatches" for conditional parsing. 2017-11-02 13:23:42 -07:00
nsingh
d5fcd91148 Refactored live conditionals so that they are parsed via SpringBootApp
API
2017-11-02 13:10:30 -07:00
nsingh
46323af577 Renamed to LiveConditional 2017-11-02 13:10:30 -07:00
nsingh
60da97b279 Move conditional to commons 2017-11-02 13:10:30 -07:00
Kris De Volder
443b8ad62f Cleanup some debug output 2017-11-02 11:56:51 -07:00
Kris De Volder
b51aa262e9 One more tweak to avoid calling startAgent if there's already a local agent. 2017-11-02 11:44:51 -07:00
Kris De Volder
2a51701d41 Rework SpringBootApp cache 2017-11-02 10:46:16 -07:00
BoykoAlex
0e2c0f15ea Switch from PID to VM descriptor 2017-11-02 12:07:58 -04:00
BoykoAlex
9592ee3380 Cache jmx connect urls against pids 2017-11-02 10:48:23 -04:00
Kris De Volder
fb3af5c1e3 Use guava cache to better manage apps from getAllRunning(Spring|Java)Apps 2017-11-01 14:26:32 -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
3e6de74351 Injection report on live hover over @Bean 2017-10-30 15:36:00 -07:00
BoykoAlex
6e71e28b10 Remove unused import 2017-10-28 17:56:51 -04:00
BoykoAlex
6ac37ca64e Don't collect stream to list - return stream 2017-10-28 17:56:01 -04:00
Kris De Volder
7617470e29 Merge branch 'master' of github.com:spring-projects/sts4 2017-10-27 16:58:55 -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
BoykoAlex
26e1551e4a Gradle classpath fix for request mappings hovers for Sagan 2017-10-27 18:43:50 -04:00
Kris De Volder
68de1dd0c5 Merge branch 'master' of github.com:spring-projects/sts4 2017-10-27 13:19:53 -07:00
Kris De Volder
fc9c84f58f Start adding some tests for 'InjectedInto' hover provider 2017-10-27 13:19:41 -07:00
BoykoAlex
4dfca0cebe Fix unit tests 2017-10-26 21:25:09 -04:00
BoykoAlex
9631f56d0f Merge branch 'master' into request-mappings 2017-10-26 21:05:35 -04:00
BoykoAlex
ba8af9f132 Merge branch 'master' into request-mappings
# Conflicts:
#	headless-services/boot-java-language-server/src/main/java/org/springframework/ide/vscode/boot/java/requestmapping/RequestMappingHoverProvider.java
#	headless-services/boot-java-language-server/src/test/java/org/springframework/ide/vscode/boot/java/requestmapping/test/RequestMappingLiveHoverTest.java
#	headless-services/boot-java-language-server/src/test/java/org/springframework/ide/vscode/project/harness/MockRunningAppProvider.java
#	headless-services/commons/commons-boot-app-cli/src/main/java/org/springframework/ide/vscode/commons/boot/app/cli/SpringBootApp.java
#	headless-services/commons/commons-boot-app-cli/src/test/java/org/springframework/ide/vscode/commons/boot/app/cli/SpringBootAppTest.java
2017-10-26 21:04:44 -04:00
Kris De Volder
84a8937b31 Add index of beans by dependency to beans model
Also, replace model implementation with immutable / builder style data
structures.
2017-10-26 12:17:33 -07:00
BoykoAlex
29c2a6e2b7 Refine request mappings 2017-10-26 11:43:16 -04:00
Kris De Volder
745994179d LiveBean parsing support for boot 2.0 2017-10-25 14:57:49 -07:00
Kris De Volder
136b98d215 Add parsing of LiveBeanModel to actuator client 2017-10-25 13:40:57 -07:00
Kris De Volder
23d55a6d93 Cleanup imports 2017-10-25 10:56:11 -07:00
Kris De Volder
28f32bb7a7 Fix another NPE bug in composite project finder 2017-10-25 10:54:01 -07:00
Kris De Volder
70dae6c7bb Merge branch 'master' of github.com:spring-projects/sts4 2017-10-25 10:49:57 -07:00
Kris De Volder
c0c2d7588d Make SpringBootAppTest run for several test targets
- Boot 1.5 fatjar
- Boot 2.0 fatjar
- Boot 2.0 thinjar
2017-10-25 10:49:40 -07:00
Martin Lippert
c614d6059e fixed bug with project finder infrastructure not iterating over different finders anymore 2017-10-25 14:25:11 +02: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
Kris De Volder
5652e8402e First, simple implementation of active profiles hover 2017-10-24 10:48:02 -07:00
Kris De Volder
8bccbeafc6 Revert changes to reactor-core version.
We should stick to version compatible with java client. So... upgrade when
upgrading the client only.
2017-10-23 13:10:00 -07:00
BoykoAlex
ebae1d0026 Adopt new reactor tuple implementation 2017-10-23 13:54:58 -04:00