Commit Graph

110 Commits

Author SHA1 Message Date
Kris De Volder
ed102991d7 Make .properties reconciler aware of document marker
See: https://github.com/spring-projects/sts4/issues/533

Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2020-09-17 11:38:02 -07:00
Martin Lippert
4d6de9f41c improve file observer mechanism to work with multiple files 2020-01-31 13:40:56 +01:00
Kris De Volder
f7276a5683 Try to shorten labels for boot property completions
See: https://github.com/spring-projects/sts4/issues/361
2019-09-05 15:14:07 -07:00
Kris De Volder
89d79d9067 Quick and dirty fix for https://github.com/spring-projects/sts4/issues/327 2019-07-24 12:29:55 -07:00
Kris De Volder
b9c491466f Do not auto-redirect language server logs to file
See: https://github.com/spring-projects/sts4/issues/328
2019-07-22 15:12:54 -07:00
Kris De Volder
7a6e311147 Fix bug that breaks live hover to tunneled cf apps
Also add a regression test that would have caught this issue.
2019-07-11 15:05:49 -07:00
BoykoAlex
ee16ee17c3 PT #166603176: Limit hover request processing time 2019-06-24 17:31:22 -04:00
Kris De Volder
1ec874207f Cleanup unused imports 2019-06-21 14:44:43 -07:00
Kris De Volder
3eb7abe760 Adopt new MemoizingProxy in SpringLiveHoverWatchdog 2019-06-21 14:44:43 -07:00
Kris De Volder
f438b29533 Add support for interface type in MemoizingProxyTest 2019-06-21 14:44:43 -07:00
Kris De Volder
f39c4169cd Regression test for MemoizingProxy.builder api 2019-06-21 14:44:43 -07:00
Kris De Volder
4e28f9e24c Optimise MemoizingProxy
Allow re-use of proxy class instead of re-creating it
every time.
2019-06-21 14:44:43 -07:00
Kris De Volder
87d1d33761 Add regression tests for 'MemoizingProxy' utility 2019-06-18 14:56:48 -07:00
Kris De Volder
c8c0637570 Track symbol dependencies ...
Infrastructure to record when a symbol depends on info
for a given (external) type. When change to external type
is found, then trigger document update for the affected
document(s).
2019-06-13 16:14:13 -07:00
Kris De Volder
30f8e2d48c Fix IndexOutOfBoundsException from GithubValueParser 2019-05-15 11:25:23 -07:00
Kris De Volder
84f0e6f668 Change error message for positive integer 2019-05-09 09:15:24 -07:00
BoykoAlex
744ffe074e PT #164318678: Support for Jar sources processing by Boot LS 2019-05-01 16:11:32 -04:00
Kris De Volder
3585297497 Fix https://github.com/spring-projects/spring-ide/issues/376
Presence of a '$' in a property key breaks boot yaml reconciler in
some cases.
2019-04-30 09:46:36 -07:00
Martin Lippert
ca88c6de4e added content-assist proposal computer for property names in Spring XML config files 2019-04-12 16:39:09 +02:00
Kris De Volder
d86becebe7 http -> https 2019-03-08 15:48:38 -08: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
4e6d416388 additional steps to make xml config analysis configurable, not yet complete through 2019-01-16 16:17:07 +01:00
Kris De Volder
fb6f691908 More tweaks to JMX exception handling 2018-12-05 13:37:42 -08:00
BoykoAlex
a41025c23e PT #160151830: Accept range within quickfix range 2018-11-22 20:17:53 -05:00
Kris De Volder
1cb46aa444 Add some logging to track completion handling 2018-11-22 16:03:39 -08:00
Kris De Volder
0eb6614617 Support for user-defined logging.groups 2018-11-14 11:42:50 -08:00
Kris De Volder
6717306d8f Convert language servers to Boot apps 2018-10-02 15:39:15 -07:00
Kris De Volder
0002646f2c Attempt at fixinf windows hanging issue again
Slightly altered timeout uitility seems to work much better.
2018-09-20 13:35:49 -07:00
Kris De Volder
5b967ccd37 Add timeout to unblock VirtualMachine.getSystemProperties 2018-09-19 15:17:16 -07:00
Martin Lippert
f66d8352f4 changed proxy creation for local apps to subclass proxies to avoid instanceof errors (like in the tests) 2018-08-23 11:24:27 +02:00
Martin Lippert
bff10fa51a added more advanced caching strategy for calculating live hovers after live hover hints already got created 2018-08-23 09:57:28 +02:00
Kris De Volder
3949aa0a93 Fix https://github.com/spring-projects/sts4/issues/59
UriUtil.normalize did not properly ensure that drive-letters on windows
are canonically represented  (i.e allways in upper-case or allways in
lower-case).
2018-08-07 14:44:38 -07:00
Kris De Volder
0b1b5cdf2a Fix https://www.pivotaltracker.com/story/show/153107266
Completions inside of @Value(...) context now also suggest 'ad-hoc' properties
that are defined in application.properties or application.yml (in addition to
regular properties defined via @ConfigurationProperties).
2018-08-01 15:23:57 -07:00
Kris De Volder
c1c46a3709 RE-using JMXConnectors as much as possible. 2018-07-13 15:20:17 -07:00
Kris De Volder
10a1e32e29 Moving towards more easy to re-use JMXConnector
The "create connector -> do something -> close" pattern
has now been turned into a method. This paves the way
for making management of the connectors smarter
so that, for example, a single connector could be
cached for some time and re-used for more than
one task.

Creating the connector is a slow process especially
for remote apps, so this is a bit of a performance
bottleneck and its a bad idea to create a new
connector for every small request.
2018-07-13 10:00:27 -07:00
Kris De Volder
4b31ac99ee Better caching proxy using CGlib
Allows internal calls to this.getBlah() to also be cached.
2018-07-12 16:06:43 -07:00
Kris De Volder
a81a54f391 Partially working remote app live hover
Uses a single-hard-coded jmx url to connect to remote
and fetch actuator data.
2018-07-11 16:49:52 -07:00
BoykoAlex
66a9aa8fe3 PT #156686000: Fix additional cases with javadoc doc for property keys 2018-06-07 16:50:28 -04:00
BoykoAlex
1203b899dd PT #156686000: Make enum value description look closer to javadoc 2018-06-06 21:42:28 -04:00
nsingh
1125337db8 Guard against errors when getting element String value 2018-06-05 16:10:09 -07:00
nsingh
aa2e89f0dd PT 156967558 - Replace ObjectMapper with Gson in Bosh LS 2018-06-05 16:10:09 -07:00
BoykoAlex
1b33036794 PT #156965730: Get Javadoc from JDT LS or eclipse client via sts/javadoc 2018-05-31 22:19:28 -04:00
Kris De Volder
ecc2724822 Fix bug in UriUtil.normalize and add some test cases for it. 2018-05-10 15:15:52 -07:00
Kris De Volder
16a56a5fdc Refactor, fix and simplify classpath infrastructure 2018-04-30 10:10:56 -07:00
Kris De Volder
704fdaa21d Reduce verbosity of 'change even with wrong verson' warning. 2018-04-11 16:38:48 -07:00
Kris De Volder
54a2bb9d47 Fix bug in JdtLsProejctCache table lookup 2018-03-27 12:56:49 -07:00
Kris De Volder
a8707545a3 Fix failing test 2018-03-22 12:09:33 -07:00
nsingh
b8fb468768 Implemented find project and table for JDT project cache 2018-03-16 17:11:17 -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
Kris De Volder
0d94dfef2b Fixes Concourse issues for https://github.com/spring-projects/sts4/issues/41
1) Turn errors for empty task.input|output.path into a warning

2) Add task.optional property to the schema
2018-02-20 14:48:30 -08:00