Commit Graph

126 Commits

Author SHA1 Message Date
BoykoAlex
02f17d2b0a PT #159465021: Unmatched bean for boot hints 2018-08-17 19:52:06 -04:00
Kris De Volder
2c6dd39a33 Resource links for remote apps
Fixed by adding a special case that detects the
special path prefix '/home/vcap/app' and treats
resources in that path the same as classpath
resources.
2018-08-17 12:46:18 -07:00
BoykoAlex
d1e960f3fa Adjustments for CodeLens for boot hints 2018-08-17 13:12:20 -04:00
BoykoAlex
638dcfa994 PT #159794215: Show wired beans for TypeDeclaration annotations hovers 2018-08-16 18:23:58 -04:00
BoykoAlex
374b5f0ad7 CodeLens for boot hints in VSCode 2018-08-16 13:38:40 -04:00
BoykoAlex
2ed494a7aa PT #159353267: Ensure line break is between RMs and process in the hover 2018-08-15 00:38:32 -04:00
Martin Lippert
c8554089bc fixed a NPE when the resource of a changed bean is not defined 2018-08-14 18:17:10 +02:00
Martin Lippert
72fe640c9f avoid NPE case when type binding get be resolved for request mapping methods 2018-08-10 13:54:53 +02:00
Kris De Volder
a42340c593 Fix JMX related resource leak
JMX connections on language server not closed when stopping
the last/only tunneled boot dash app.
2018-08-09 13:58:48 -07:00
Kris De Volder
d3402741fd Fix https://www.pivotaltracker.com/story/show/159621631
I.e: handle the case where list of paths from live requestmapping info is empty.
2018-08-08 16:37:38 -07:00
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
Martin Lippert
64e7bbad45 firt rough cut to include conditional and profile annotations in bean symbols instead of their own ones 2018-08-07 15:11:05 +02:00
Kris De Volder
c004bb6550 Cleanup obsolete code 2018-08-03 11:13:01 -07:00
Martin Lippert
ef213af41e improved error logging when something goes wrong while parsing source code for symbols and live hovers 2018-08-03 12:35:48 +02:00
Martin Lippert
2bb98a874c trying to fix test failure, but not sure this is the right solution 2018-08-03 12:15:27 +02:00
Martin Lippert
44a8e43861 added missing empty application.yml file back for empty boot test project, otherwise random failures 2018-08-03 11:52:08 +02:00
BoykoAlex
d0bcef7910 PT #159485440: Only update hints if doc versions are matching 2018-08-02 10:17:14 -04:00
Martin Lippert
98b2bb226b improved error message for failed project source parsing 2018-08-02 14:44:30 +02:00
Kris De Volder
b0bff264ce Fix failing tests 2018-08-01 15:48:35 -07: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
Martin Lippert
71b47ff286 do not take thin jar launcher mapping and classpath matching into account when identifying projects 2018-07-31 15:53:23 +02:00
Martin Lippert
007b2c5f95 fixed logic around specific project name setting 2018-07-31 14:08:51 +02:00
BoykoAlex
92fbe9ecdd Inner class bean id is equal to bean type 2018-07-31 01:43:00 -04:00
BoykoAlex
21e0543730 PT #159307292: Anonymous inner class bean type wiring 2018-07-31 00:26:02 -04:00
BoykoAlex
5480b1812a PT #159352937: Rework Injection hover content 2018-07-30 17:49:45 -04:00
BoykoAlex
705d81f945 PT #159371605: Implicitly autowired constructor boot hint and hover 2018-07-27 21:04:30 -04:00
BoykoAlex
eb34b0210f PT #159307292: Autowired reports optics, content specific to AST node 2018-07-26 21:25:37 -04:00
Kris De Volder
c1c46a3709 RE-using JMXConnectors as much as possible. 2018-07-13 15:20:17 -07:00
Martin Lippert
e349bdb055 removed strict project matching setting again and removed unnecessary complexity in the code 2018-07-13 10:21:31 +02: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
Kris De Volder
1383fff41d Treat @Inject as synonymous to @Autowired 2018-07-06 15:24:10 -07:00
Martin Lippert
954f65de4d added config options for change detection mechanism and changed default to disabled 2018-06-19 10:02:52 +02: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
0d4c3b8c42 Fix NPE
See: https://github.com/spring-projects/sts4/issues/59#issuecomment-397569150

Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2018-06-15 08:47:29 -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
BoykoAlex
58ace93d32 PT #158305140 Fix javadoc on eclipse client, make javadoc lazy on server 2018-06-12 20:58:32 -04: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
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
BoykoAlex
4b9e29590b Refactor javadoc service injection 2018-06-05 09:55:09 -04:00
BoykoAlex
1b33036794 PT #156965730: Get Javadoc from JDT LS or eclipse client via sts/javadoc 2018-05-31 22:19:28 -04:00