Commit Graph

36 Commits

Author SHA1 Message Date
nsingh
285dad577c Removed unnecessary println 2018-03-16 17:14:10 -07:00
nsingh
b8fb468768 Implemented find project and table for JDT project cache 2018-03-16 17:11:17 -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
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
nsingh
285e4fe811 Initial implementation for adding classpath listener 2018-03-14 14:42:35 -07:00
BoykoAlex
7fd476e5c6 Atom source links - server side 2018-03-14 13:52:29 -04:00
Martin Lippert
b20ef8ca75 webflux route element highlights implemented as a first prototype, including several improvements to the webflux symbol engine 2018-03-14 13:30:12 +01: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
Martin Lippert
9ca8e66e7d fixed failing test, forgot to incorporate media types into that one 2018-03-12 14:53:06 +01:00
Martin Lippert
36ddd52f82 take content and accept types into account for annotation-defined request mapping symbols 2018-03-12 14:35:04 +01:00
Martin Lippert
62f975d74c added more complex nested webflux router case and extracted symbol generation logic for routes 2018-03-11 20:08:46 +01:00
Martin Lippert
3023bc22e8 further improvements to webflux symbol and code lens analysis, including content and accept type identification 2018-03-11 08:24:33 +01:00
Martin Lippert
1adbab0ac0 added additional media types, taken from spring 5 MediaType constants 2018-03-11 08:24:33 +01: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
7328932b7c added media types to webflux symbol and code lens logic 2018-03-08 13:28:23 +01:00
Martin Lippert
57b83da757 change the way webflux code lenses for handler methods are displayed 2018-03-08 09:54:10 +01:00
Martin Lippert
bdebabf696 ignore abstract bean definition methods while scanning for bean symbols 2018-03-06 11:24:29 +01:00
Martin Lippert
39952b3e5d replaced methodkey with different identification string for handler classes and handler methods to avoid jdt bug on windows 2018-03-05 10:23:49 +01:00
BoykoAlex
d13ccfc5c4 PT #155266751: Eclipse source links via IntroURL 2018-03-02 22:51:54 -05:00
Martin Lippert
34424d69cc fixed test to work on Windows too, since method keys are generated differently 2018-03-02 11:13:34 +01:00
Martin Lippert
d368d320d7 added test for webflux code lenses 2018-03-01 11:44:47 +01:00
Martin Lippert
5fe8f2a95b webflux handler methods now get a code lens for the mapped route 2018-02-28 11:52:21 +01:00
Martin Lippert
79c71128a1 added option to generate additional information while parsing symbols and do that for handler methods in webflux definitions 2018-02-27 17:13:34 +01:00
Kris De Volder
27859bf670 Remove commons-boot 2018-02-26 12:14:26 -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
aa78fe0dcc Merge BootJavaServerParams into BootLanguageServerParams
This also required the removal of duplicated SpringPropertyIndex related
classes that existed in both boot properties and boot java language servers
before.

A single BootLanguageServerParams now contains the same kind of property 
index that should be able to support both uses.
2018-02-14 13:04:32 -08:00
Kris De Volder
83a08eaf0e Rename BootPropertiesLanguageServerParams to BootLanguageServerParams
This is a step towards merging BootPropertiesLanguageServerParams and 
BootJavaLanguageServerParams into a single BootLanguageServerParams
2018-02-14 11:12:30 -08:00
Kris De Volder
63c976d3fa Changes towards composable language servers 2018-02-13 15:08:12 -08:00
Kris De Volder
ae1354d53e Rename boot-language-server to spring-boot-language-server
So it is consistent with the vscode-spring-boot naming.
2018-02-13 11:57:13 -08:00