Commit Graph

501 Commits

Author SHA1 Message Date
Kris De Volder
243586a8f8 Fix https://www.pivotaltracker.com/story/show/159426287
Add remote host name to ssh tunnel config, so that it can
be used to compute correct request mapping links for live
hovers.
2018-08-07 10:06:49 -07:00
BoykoAlex
e26c24ed1f Cleanup HighlightParams 2018-08-02 10:50:58 -04:00
BoykoAlex
d0bcef7910 PT #159485440: Only update hints if doc versions are matching 2018-08-02 10:17:14 -04:00
Kris De Volder
c48b465cb8 Merge branch 'master' of github.com:spring-projects/sts4 2018-08-01 15:24:19 -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
BoykoAlex
21e0543730 PT #159307292: Anonymous inner class bean type wiring 2018-07-31 00:26:02 -04:00
BoykoAlex
705d81f945 PT #159371605: Implicitly autowired constructor boot hint and hover 2018-07-27 21:04:30 -04:00
Kris De Volder
576615c223 Bump version to 0.5.0 2018-07-27 16:39:35 +00:00
BoykoAlex
eb34b0210f PT #159307292: Autowired reports optics, content specific to AST node 2018-07-26 21:25:37 -04:00
Kris De Volder
5a1aab6d2c Bump version to 0.4.0 2018-07-18 16:59:15 +00: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
f29e7e9954 Various cleanups
- missing copytight headers
- unused imports
- obsolete comments
- rename some strnage method names
2018-07-12 14:19:56 -07:00
Kris De Volder
57f42c9883 Make remote boot app urls configurable from vscode 2018-07-12 14:13:47 -07:00
Kris De Volder
d81a6a6763 Merge branch 'master' of github.com:spring-projects/sts4 2018-07-11 17:36:24 -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
Martin Lippert
d7fc10794c first cut for strict project matching mode to ensure live hovers are detected and shown only for relevant projects 2018-07-11 16:40:18 +02:00
Kris De Volder
e1c0953f4f Refactoring: introduce abstract 'SpringBootApp'
In preparation for supporting both local and
remote SpringBootApp as sources for live
information via jmx connection.
2018-07-10 11:34:09 -07:00
Martin Lippert
fc21e145ca update jdt prefs for photon 2018-07-06 13:07:22 +02:00
Kris De Volder
880d308b49 Remove workaround for lsp4e sorting issue
The issue has been fixed in lsp4e master
2018-07-05 10:41:55 -07:00
nsingh
3421d7deaa Removed obsolete manifest LS types 2018-06-25 20:10:44 -07:00
nsingh
990c8aae26 PT 156579665 - Improvements in handling CF targets in manifest LS
Changes to how CF targets are handled in manifest LS, including better
error handling and association with a source type, like cf CLI or boot
dashboard.
2018-06-25 20:07:13 -07:00
BoykoAlex
cc9d1858f3 Update Jandex to 2.0.5.final 2018-06-20 18:02:40 -04:00
BoykoAlex
bb9bdff10f PT #158478912: Add jrt-fs.jar on classpath for fallback in case of JDK
>8
2018-06-20 14:29:49 -04:00
Martin Lippert
71bebf307a change detection is now able to re-connect to already stopped application 2018-06-19 09:43:30 +02:00
Martin Lippert
e157343daa check for existing model before updating it and fixed typo 2018-06-19 09:43:30 +02:00
Martin Lippert
2353b43fa3 first steps towards detecting changes in live running apps across, at the moment across internal restarts via devtools 2018-06-19 09:43:30 +02:00
Kris De Volder
19890b880a Bump version to 0.3.2 2018-06-18 18:01:42 +00:00
Kris De Volder
cc80abb586 Undeprecated a method in Editor test harness
I think its fine to just keep using the
'newEditor' method without an explicit
language id. So let's get rid of all
the deprecation warnings associated
with it.
2018-06-18 10:52:10 -07:00
Kris De Volder
e0b63ef3d9 Bypass lsp4e filtering to avoid bug in lsp4e 2018-06-13 15:23:58 -07:00
BoykoAlex
9c2155ef68 PT #158305061: Hanlde only java documents by boot java handlers 2018-06-13 16:31:56 -04:00
BoykoAlex
596c617202 PT #158305140 Fix more errors around bean type properties 2018-06-13 10:57:26 -04:00
Kris De Volder
e11e1196ef Fixes suspected race condition causing NPE
See PT-158202141
2018-06-12 18:09:10 -07:00
Kris De Volder
171fb272f9 Bump version to 0.3.1 2018-06-11 22:56:05 +00:00
Kris De Volder
4555d9930a Jumpy completions working in STS4 eclipse
Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2018-06-11 15:04:45 -07:00
BoykoAlex
5aebb062a2 Bump up highlights timeout to get tests to pass 2018-06-07 17:07:25 -04: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
58b038704c Replace ObjectMapper with Gson in CF Cli provider 2018-06-05 16:10:09 -07: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
4b9e29590b Refactor javadoc service injection 2018-06-05 09:55:09 -04:00
Kris De Volder
3738f649d1 Bump version to 0.3.0 2018-06-04 18:02:37 +00:00
BoykoAlex
1b33036794 PT #156965730: Get Javadoc from JDT LS or eclipse client via sts/javadoc 2018-05-31 22:19:28 -04:00
BoykoAlex
984eafc2c0 PT #157668103: Switch to Gson where possible - except Bosh 2018-05-17 16:39:13 -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
BoykoAlex
bf7e0068e0 Make timeout time moderate for live hints tests 2018-05-10 17:29:16 -04:00
BoykoAlex
a88a33a647 Bump up live hints timeout for tests 2018-05-10 17:06:06 -04:00
nsingh
a640a62121 Remove live hover optimisation
Does not work when stopping running apps and having multiple editors
open.
2018-05-10 09:59:42 -07:00