Commit Graph

83 Commits

Author SHA1 Message Date
Kris De Volder
5ea32cf751 Cleaner dependency injection for BootJavaLanguageServer 2017-10-18 16:20:42 -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
023e623f02 Fixed NPE in request mapping hover provider 2017-10-16 16:19:14 -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
nsingh
f88964b6b2 Include the running app provider 2017-10-16 16:11:54 -07:00
nsingh
17eb2eb2f0 Refactor boot Java language server
Allow running app provider to be injected into language server for
testing purposes.
2017-10-16 16:10:13 -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
Martin Lippert
0beea180fe PT #151440528: live hints for request mappings now do exact matching instead of apps and mappings 2017-10-13 10:38:09 +02:00
nsingh
dd61505bb5 Improvements to live hovers for request mappings 2017-10-12 23:06:24 -07: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
nsingh
825db31d88 Add process ID and name to live hover 2017-10-12 10:07:42 -07: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
nsingh
ee069226f9 Added basic request mapping navigation in live hover 2017-10-11 17:35:29 -07:00
BoykoAlex
522e8e6775 Fix NPE for Atom LS build 2017-10-11 00:57:57 -04:00
Martin Lippert
194b4fac25 PT #151438408: annotation index is updated on document save event 2017-10-09 20:50:28 +02:00
nsingh
4eddb50e63 Improve handling of snippet indentations containing no tabs 2017-10-04 15:59:22 -07:00
Kris De Volder
cff34afdd5 Add back 'fake' highlighter for testing.
Make it disabled by default (small code edit needed to enable it).
2017-10-04 14:44:05 -07:00
Martin Lippert
9a0b5c8023 PT #151428541: connected watchdog with new protocol extension to show live hover hints 2017-10-04 14:33:15 +02:00
Kris De Volder
8e4ccae558 Merge branch 'master' of github.com:spring-projects/sts4 2017-10-03 16:28:11 -07: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
nsingh
51491035f6 Fixed indentation for snippets for non-vscode editors 2017-10-03 13:46:21 -07:00
Kris De Volder
adced19b09 WIP: goto symbol in file dialog 2017-10-02 12:27:59 -07:00
Martin Lippert
7c4c3f50f5 PT #151428541: first steps to gather live hover hint data from running apps 2017-10-02 16:30:33 +02:00
Martin Lippert
0d75bd4b56 PT #150711096: start symbol parsing at language server startup 2017-10-02 09:33:14 +02:00
nsingh
c34c52f440 Fixed NPE in additional edit 2017-09-28 18:55:24 -07:00
nierajsingh
efc45d96e6 Merge pull request #14 from spring-projects/java-snippet
Snippets for request mappings
2017-09-28 16:24:17 -07:00
nsingh
5b434b16c4 Added JDT-derived import rewrite for snippets 2017-09-28 16:08:25 -07: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
Kris De Volder
ebe95edcd8 Add two more snippets 2017-09-21 09:10:44 -07:00
Kris De Volder
830f2e9879 Use proper snippet syntax so placeholders work in vscode 2017-09-20 17:41:27 -07:00
nsingh
00c3213adc Add support to include imports through additional edits 2017-09-20 16:08:05 -07:00
Kris De Volder
5fe87f6522 Add one more snippet 2017-09-20 14:01:52 -07:00
nsingh
0a47b7c158 PT 150711216 - Initial implementation
Includes basic completion of a request mapping snippet
2017-09-20 13:27:28 -07:00
Kris De Volder
ea046efae8 WIP: snippet infrastructure 2017-09-20 11:19:03 -07:00
Martin Lippert
e6eacc435a increase parsing speed by ignoring method bodies 2017-09-20 11:47:43 +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
f85b3a4bf8 PT #150803442: avoid creating too many temporary TextDocuments over and over again 2017-09-20 10:32:27 +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
6845d937ca improved label for beans symbols 2017-09-18 19:57:04 +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