Commit Graph

305 Commits

Author SHA1 Message Date
nsingh@pivotal.io
9ac173feb6 Refactor getting exact node to reuse for Value hover highlights 2019-02-12 12:39:56 -08:00
nsingh@pivotal.io
45b634e467 User logger to log errors in Value hover provider 2019-02-11 13:51:56 -08:00
nsingh@pivotal.io
cd276ddbc4 PT 163178235 - Add live properties parsing for Boot 2.x
Live properties parsing for Boot 2.x was missing and was not appearing
when hovering over @Value properties
2019-02-11 13:35:20 -08:00
Martin Lippert
fd445778b3 changed live hover checks from various classpath and property checks towards JMX bean lookup, and turned the check into parallel checks 2019-02-11 11:32:18 +01:00
Martin Lippert
6ef4d7837a fix failing tests due to wrongly created hover hint for profiles even if there are no profiles 2019-02-08 14:39:51 +01:00
Martin Lippert
dad40ae81e remove hasActuator checks before searching for live hovers 2019-02-08 13:53:29 +01:00
Kris De Volder
c9b189bfae One more attempt to handle deprecation level
... in spring boot configuration metadata
2019-02-07 11:01:44 -08:00
Kris De Volder
d235c5686c Fix compilation error 2019-02-07 09:31:57 -08:00
Kris De Volder
9ddd234790 Property Deprecation.Level values are spelled in lowercase 2019-02-07 09:17:08 -08:00
Martin Lippert
ee7aa8139e fixed the line position of symbols from Spring XML config files 2019-02-07 16:02:18 +01:00
BoykoAlex
66453d617c PT #162599228: Update theia-commons to latest switch LS start to async 2019-02-06 16:57:30 -05:00
Kris De Volder
bc8b0300ca Deprecated properties without replacement ...
Should not get a "Replace with..." quickfix
2019-02-06 12:58:52 -08:00
BoykoAlex
7fe0d75412 PT #163527410: Don't load source for Eclipse. Ask JDT LS for locations. 2019-02-06 11:21:06 -05:00
Martin Lippert
5bb448b0a0 additional optimization to avoid additional project identification on every live hover hint update 2019-02-06 16:47:46 +01:00
Martin Lippert
f3b0f6a6de avoid re-identifying the corresponding project every time the watchdog updates, causes too much CPU consumption every 5 sec 2019-02-06 15:57:31 +01:00
Martin Lippert
891e65e4bd take XML bean definitions without explicit bean ID into account when creating symbols 2019-02-06 14:54:28 +01:00
Martin Lippert
4b180e1993 initial steps towards using a dom-based XML parser that provides exact location information 2019-02-06 11:30:22 +01:00
Martin Lippert
1118725c10 remove machine-dependent entry in factory path 2019-02-02 13:07:43 +01:00
BoykoAlex
08be460b28 PT #163583926: Atom supports application.yaml for boot properties 2019-02-01 14:25:19 -05:00
Kris De Volder
306d116681 Add a regression test for '.yaml'.
Checks that boot language server accepts '.yaml' as equivalent
to '.yml' for reconcile, completions and hovers.
2019-01-31 16:02:43 -08:00
Kris De Volder
2a83e31172 Spring Boot Language Server in Eclipse accepts both .yml and .yaml 2019-01-31 15:23:54 -08:00
Kris De Volder
44832b3787 Eclipse metadata 2019-01-31 12:07:46 -08:00
Kris De Volder
d9e19ae69e Re-instate trigger chars, but not for vscode
See https://github.com/spring-projects/sts4/issues/193
2019-01-31 12:05:53 -08:00
Kris De Volder
cb63fac8ee Disable trigger characters for boot language server
See: https://github.com/spring-projects/sts4/issues/193
2019-01-31 09:38:05 -08:00
Martin Lippert
daca3514df enable workspace symbol queries to be parameterized with location prefixes and unlimited number of results 2019-01-31 10:27:54 +01:00
Martin Lippert
c9fb5e80ab added necessary synchronization to concurrently used data index to avoid concurrency problems 2019-01-27 19:39:59 +01:00
Kris De Volder
5250088758 Bump version to 1.4.0 2019-01-25 19:13:33 +00:00
Kris De Volder
bd7c38b2aa Bump version to 1.3.0 2019-01-24 19:07:51 +00:00
Martin Lippert
2ab97b332d switched watch dog internals to use ScheduledThreadPoolExecutor and add update of docs to that to avoid blocking the ls altogether 2019-01-24 09:59:21 +01:00
Martin Lippert
e8f2840966 do not configure boot ls as server for general xml docs and instead use watch files mechanism to detect changes to XML files 2019-01-22 10:52:54 +01:00
BoykoAlex
923a21132a PT #160596363: Resource links for dependency project for app from CF 2019-01-21 23:59:03 -05:00
BoykoAlex
0681baa876 PT #160596363: Fixes for live hints and navigation for multi-projects
Initial work: highlights fixed, source links bean

SourceLinks bean uses project finder

Project finder all projects. Source entries for dependency projects.

Properly support peer projects for fall back Gradle projects

Update code minings for e4.9
2019-01-21 19:29:26 -05:00
Martin Lippert
228c3d3939 added missing pieces to register boot ls for general xml file usage and get notified for changes to xml files 2019-01-21 17:39:12 +01:00
Martin Lippert
c9dd8e429d change sysout to log.debug in order to not break lsp process communication 2019-01-17 09:47:00 +01:00
Kris De Volder
a1a6ee52eb Eclipse metadata
Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2019-01-16 15:20:45 -08:00
Kris De Volder
d1a96a1569 Set completionTriggerCharacters for spring boot language server.
Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2019-01-16 15:19:45 -08:00
BoykoAlex
f893da12f5 PT #160962428: Simple unit test 2019-01-16 17:54:19 -05:00
Martin Lippert
e8ea496b8a enable first unit tests for xml config indexing 2019-01-16 17:04:55 +01:00
Martin Lippert
abf58a7bce fix failing tests 2019-01-16 16:51:26 +01:00
Martin Lippert
4e6d416388 additional steps to make xml config analysis configurable, not yet complete through 2019-01-16 16:17:07 +01:00
Martin Lippert
4f7a2014c4 added config option to enable/disable XML config file support 2019-01-16 13:35:29 +01:00
BoykoAlex
726bad6764 PT #160962428: Typo correction 2019-01-15 23:28:58 -05:00
Martin Lippert
9806e95cf2 first steps to create symbols for XML-defined beans 2019-01-15 12:08:04 +01:00
Martin Lippert
9ab5cd6c8d refactored the spring symbol indexing mechanics, extracted the overall mechanism from the java specific parts to open it up for other file types 2019-01-15 09:19:20 +01:00
BoykoAlex
5b2b5e89af PT #160962428: Create metadata for missing property quick fix 2019-01-14 19:23:08 -05:00
BoykoAlex
31b5782d94 PT #135782951: (Part 2) Deprecated property quick fix 2019-01-11 13:25:30 -05:00
BoykoAlex
6a9e40dbbb PT #135782951: (Part 1) Completions for deprecated properties 2019-01-09 19:13:59 -05:00
Martin Lippert
f0379020bc initial steps to support live bean hovers for non-boot projects 2019-01-08 11:27:55 +01:00
nsingh@pivotal.io
19904ca093 Fixed RM tests for hovers 2019-01-05 02:09:14 -08:00
nsingh@pivotal.io
9f88fb68f0 Fixed Conditionals junits for hovers 2019-01-05 02:09:14 -08:00