Commit Graph

58 Commits

Author SHA1 Message Date
BoykoAlex
29c2a6e2b7 Refine request mappings 2017-10-26 11:43:16 -04:00
Martin Lippert
500ab5793b Merge branch 'jump-to-live-app' 2017-10-25 10:44:26 +02:00
Martin Lippert
3bcc9091b2 finished work on simple live app request mappings symbols 2017-10-25 10:38:54 +02:00
nsingh
0357d2f609 Added test case with multiple conditionals 2017-10-24 17:50:27 -07:00
Kris De Volder
cd5c4af94a Cleanup imports 2017-10-24 16:18:19 -07:00
Kris De Volder
f0ffb29458 More fancy implementation active profiles live hovers 2017-10-24 16:16:01 -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
Kris De Volder
5652e8402e First, simple implementation of active profiles hover 2017-10-24 10:48:02 -07:00
Kris De Volder
b8aa5e484c Add empty-boot-15-web-app test project 2017-10-24 10:37:09 -07:00
Martin Lippert
fd10bbc6b8 removed outdated self-defined system property for boot-java language server 2017-10-23 20:17:27 +02:00
nsingh
1b274cf375 Renamed test cases 2017-10-22 22:51:25 -07:00
nsingh
e16ef74bf3 Added one more test case for conditional live hover 2017-10-22 22:39:24 -07:00
nsingh
bd11bfbe52 Added some test cases for conditional live hover 2017-10-22 22:06:09 -07:00
nsingh
b1962945df Added test project for conditional live hover tests 2017-10-22 21:20:48 -07:00
nsingh
7742083562 Initial harness for conditionals live hover tests 2017-10-22 20:53:48 -07:00
Kris De Volder
5f7e964301 Merge branch 'master' of github.com:spring-projects/sts4 2017-10-19 13:42:32 -07:00
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
BoykoAlex
2a3dac69c6 Spring properties index aware of project changes 2017-10-19 15:26:30 -04: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