Commit Graph

40 Commits

Author SHA1 Message Date
Kris De Volder
3a57d99a84 Disable boot-java language server internally on non-boot project
Also use Optional in project finder to avoid some NPE bugs for missing project
context.
2017-10-19 13:41:53 -07:00
Kris De Volder
f5967b4b8d Replace BootJava test harness constructors with builder api.
And fix failing tests in the process
2017-10-19 10:23:43 -07:00
Kris De Volder
b41fb3af41 Cleanup junk from merge conflict that was missed 2017-10-18 16:40:53 -07: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
8b2f3de69a Added one more test case for no running apps 2017-10-18 14:01:21 -07:00
nsingh
bd509ed14d Added test case to test live hovers over methods 2017-10-18 13:34:52 -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
nsingh
c6eb7222e6 Added missing mock support for app host 2017-10-18 13:12:55 -07:00
Kris De Volder
71dabb8d6c Streamlime and simplify JavaProjectFinder
Only a single method needs to be implemented now to define how
a project context is found for a given document location.
2017-10-17 11:04:08 -07:00
Kris De Volder
69491029b3 Remove obsolete method 'isProjectRoot' from project finder interface 2017-10-17 10:41:56 -07:00
nsingh
c6aa4a2b98 Add basic harness for testing running boot apps
Used mockito to mock list of running apps.
2017-10-16 16:13:01 -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
Martin Lippert
aef5d309c6 PT #151991870: first rough implementation for live hovers for components without autowired annotation 2017-10-16 18:46:08 +02:00
Martin Lippert
9f9c29d3b7 PT #151052858: added simple hover content for autowired annotation live hovers 2017-10-15 13:44:48 +02:00
Martin Lippert
c632cab7c7 PT #151052858: first steps towards live hovers for @Autowired annotation 2017-10-13 14:29:26 +02:00
BoykoAlex
423c6bcaef [PT-#150740880] File listener and project listeners mechanics
Refactor project finder into project manager

Update annotation index based on project changes

Missing comments
2017-10-12 16:41:38 -04:00
Martin Lippert
4d32d4849e PT #151888326: let the update document task wait for the initial annotation index to be ready and changed the update mechanics towards an async queue 2017-10-12 13:10:10 +02:00
Martin Lippert
194b4fac25 PT #151438408: annotation index is updated on document save event 2017-10-09 20:50:28 +02:00
Martin Lippert
0d75bd4b56 PT #150711096: start symbol parsing at language server startup 2017-10-02 09:33:14 +02:00
Martin Lippert
b43b32b895 PT #150803616: taking search query into account and running a similar search on the ls side than the client does afterwards 2017-09-25 13:59:49 +02:00
Martin Lippert
52ee072a0b PT #150797637: added initial support to extract specific symbols for function beans 2017-09-20 11:19:23 +02:00
Martin Lippert
82e6199805 changed bean symbol to not include full package name of bean type anymore 2017-09-20 10:39:35 +02:00
Martin Lippert
1ad2eb0c9f fixed a bug in request mapping parent path identification and adapted tests to changed symbol syntax 2017-09-18 20:32:39 +02:00
Martin Lippert
dadb6cf85a PT #151123837 - take parent path into account for request mapping symbols 2017-09-18 19:58:11 +02:00
Martin Lippert
1ba8c5b85b added first simple test case for request mapping symbol provider, more to come 2017-09-18 17:25:56 +02:00
Martin Lippert
50a318c569 renamed annotation indexer and changed to lazy init mode 2017-09-18 15:02:36 +02:00
Martin Lippert
399d496b57 implemented first steps towards symbol provider for @Component 2017-09-18 12:12:10 +02:00
Martin Lippert
3e42c461da early steps towards specific bean symbol providers 2017-09-18 09:36:12 +02:00
Martin Lippert
985b43adbe added symbol per document handling to annotation indexer mechanism 2017-09-17 17:44:52 +02:00
Martin Lippert
ccb5d9e303 making the test more robust against specific sequences of results 2017-09-04 21:14:23 +02:00
Martin Lippert
18ee1de7a5 extracted annotation indexing into its own class and switched to batch parsing of java files 2017-09-04 20:58:23 +02:00
Martin Lippert
35f1103303 finished refactoring of boot annotation type centric packages and handler registration 2017-08-29 11:41:38 +02:00
Martin Lippert
51ad3f58fd refactored boot java handlers to be more dynamic and structured around spring types 2017-08-28 14:51:44 +02:00
Martin Lippert
3cbce5e81a started to implement infrastructure to parse java projects completely 2017-08-27 18:48:00 +02:00
Kris De Volder
5284d96533 Cleanups: more type-checked representation of LanguageId 2017-04-20 13:57:56 -07:00
Martin Lippert
1b47102fcf made tests more robust because references could be found in random order 2017-04-18 15:20:19 +02:00
Kris De Volder
aee00fb487 Add quickfix for missing properties in concourse editor 2017-04-11 17:08:03 -07:00
Kris De Volder
c5a22086d8 Re-enable ignored tests 2017-04-07 15:15:32 -07:00
Kris De Volder
95355ff981 Split vscode-boot-java to separate out language-server 2017-04-07 14:36:23 -07:00