Commit Graph

2490 Commits

Author SHA1 Message Date
BoykoAlex
276eb4d84e Add unit test for functional RM JMX data 2018-09-07 16:16:47 -04:00
BoykoAlex
68f54e42b5 Do not fail if "requestMappingConditions" is not JSON object 2018-09-07 15:56:51 -04:00
BoykoAlex
3963855d08 Do not crash on WebFlux handler functions data parsing 2018-09-07 15:28:10 -04:00
Martin Lippert
2a39071b50 ignore exceptions during parsing due to compilation or type resolve problems 2018-09-07 10:01:44 +02:00
Martin Lippert
5b7bb70894 updated orbit repo for eclipse 2018-09 2018-09-07 09:17:02 +02:00
BoykoAlex
15a0cb5db8 PT #160125656: Adjust names for property pages 2018-09-07 00:39:08 -04:00
BoykoAlex
9ef919e73f PT #160125656: Consolidate prefs page for LS extensions 2018-09-06 18:25:39 -04:00
Kris De Volder
55f20d7d99 Attempt to add m2e-apt to STS 4 and enable by default 2018-09-06 11:24:29 -07:00
BoykoAlex
f8901cf003 PT #160302607: missing test input files 2018-09-05 19:03:55 -04:00
BoykoAlex
19d680bbb7 PT #160302607: WebFlux RMs JMX beans format + NPE for WebFlux symbols 2018-09-05 19:03:20 -04:00
Kris De Volder
238e176c90 Fix more regressions caused by SymbolInformation...
Things that used to just have SymbolInformation in
lsp4j now are 'Either<SymbolInformation, ...>'.

This breaks a number of places where we have
'instanceof SymbolInformation' checks.
These checks fail and various bits of code that
should handle the SymbolInformation case was
not being executed.
2018-09-04 12:07:09 -07:00
Kris De Volder
2835925e8d Fix Goto Symbols Dialog
Was broken due to evolution in lsp4j api types.
2018-08-31 12:11:41 -07:00
BoykoAlex
df10af0bc6 PT #160188863: Don't crash LS when launched with JRE 2018-08-30 22:22:32 -04:00
nsingh
997e9a0383 Added some comments on why return empty model in cache 2018-08-30 12:40:25 +02:00
nsingh
0ffeac4066 return empty model if JMX not available instead of throwing exception 2018-08-30 12:36:07 +02:00
nsingh
f776fae57d Reverting. We don't want to invoke JMX all the time 2018-08-30 12:34:54 +02:00
nsingh
a682269162 PT 160096886 - Don't throw exception when actuator not available
For example, when application is stopping.
2018-08-30 12:26:18 +02:00
BoykoAlex
51d1cf96cd Range highlights and CodeLenses 2018-08-29 15:58:04 -04:00
BoykoAlex
dc8550f706 Eclipse CodeLens action for "sts.open.url" command 2018-08-28 14:51:37 -04:00
nsingh
82ee324191 Minor change in fetching commands from vscode 2018-08-28 19:25:56 +02:00
BoykoAlex
53ad76d6aa Boot highlights as CodeLenses in Eclipse 2018-08-28 12:41:26 -04:00
nsingh
e125d1de75 PT-160007578: Check if commands exist before registering in vscode 2018-08-28 16:47:11 +02:00
Martin Lippert
dbf72934e8 lsp4j updates to document symbols 2018-08-25 20:38:04 +02:00
BoykoAlex
5b94f58fb5 Streamline arrows in boot hint Hovers and CodeLenses 2018-08-24 13:47:25 -04:00
nsingh
0541369c54 Revert back to more... code lens for remaining mappings
But make it unclickable for now due to hover position issues
2018-08-24 13:35:06 +02:00
nsingh
904468c632 Some changes to RM code lenses
Added command for direct navigation to URL in vscode editor.
2018-08-24 09:02:32 +02:00
BoykoAlex
a9e2854a5c PT #159839753: Polish hover content based on CodeLens title 2018-08-23 18:31:18 -04:00
Martin Lippert
5f2133335f avoid multiple calls to getProject and hasActuatorDependency to avoid memory pressure 2018-08-23 16:21:30 +02:00
Martin Lippert
65b20c10ae added fallback for tests that are quickly creating hovers as soon as an individual highlight is there 2018-08-23 13:59:49 +02: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
Martin Lippert
88e8e65b45 small refactoring to make API of live hover watchdog a bit cleaner 2018-08-23 09:57:28 +02:00
BoykoAlex
a186bc35a8 PT #159413155: Generic YAML editor with spaces instead of tab indent 2018-08-22 18:26:08 -04:00
Kris De Volder
6647b58d9d Disable randomly failing test case (again) 2018-08-22 12:21:07 -07:00
Kris De Volder
81974966c8 Disable randomly failing test case (again) 2018-08-22 12:18:46 -07:00
Kris De Volder
4f73be400a Merge branch 'master' of github.com:spring-projects/sts4 2018-08-22 12:09:56 -07:00
Kris De Volder
0b8d44d75f Make jdt.ls extension more reliable detecting deleted projects 2018-08-22 12:09:34 -07:00
nsingh
a0129c3653 PT 159833130 - Add content, title and command for RM code lenses 2018-08-22 18:34:02 +02:00
BoykoAlex
db20140cb7 PT #159049846: Atom prefs for remote apps 2018-08-21 21:37:49 -04:00
Kris De Volder
0d93c7e31e Merge branch 'master' of github.com:spring-projects/sts4 2018-08-21 15:44:13 -07:00
Kris De Volder
2499d8b542 Small change to log message
Shouldn't call getJmxUrl just to log... it has too
much machinery attached to it to just call it frivoulously
(i.e. this is not just a field, but does a bunch of VM connecting
etc.)
2018-08-21 15:42:54 -07:00
BoykoAlex
515d2887c7 Not committed with previous commit 2018-08-21 18:33:08 -04:00
BoykoAlex
a4734b8029 PT #159866173: Add autowired beans for @Bean hover and codelens 2018-08-21 16:58:50 -04:00
Kris De Volder
01a15ec0ba Merge branch 'master' of github.com:spring-projects/sts4 2018-08-21 12:03:47 -07:00
Kris De Volder
8ef2e19fdf Add support for values of type java.time.Duration...
So that both application.properties and application.yml

- recognize/treat these as atomic values
- can recognize 'garbage' values during reconcile and give a error.
2018-08-21 12:01:37 -07:00
BoykoAlex
b5f9c3e505 PT #159915886: Match more than one bean for collections 2018-08-21 12:54:32 -04:00
BoykoAlex
f8677b440a PT #159445379: @Autowired for Collection and sub-types 2018-08-20 21:32:05 -04:00
Kris De Volder
93ec5e6fae Add redhat.java as a dependency of vscode-spring-boot 2018-08-20 15:58:53 -07:00
Kris De Volder
7ef56430d1 Merge branch 'master' of github.com:spring-projects/sts4 2018-08-20 14:55:35 -07:00
Kris De Volder
ac32e27f44 Add minimal description to ad-hoc properties 2018-08-20 14:55:14 -07:00