Commit Graph

527 Commits

Author SHA1 Message Date
Nieraj Singh
809ffc07e7 Minor junit change 2020-10-19 16:36:14 -07:00
Nieraj Singh
a64ea76ef2 PT 173730396 - Further support for version validation
Added further support to generate warning messages for a java project
from spring project metadata.
2020-10-19 15:46:58 -07:00
Kris De Volder
d92572bc52 Attempt to fix race condition boot ls tests
See: https://www.pivotaltracker.com/story/show/175339205
2020-10-19 14:28:46 -07:00
Kris De Volder
3180b5daf0 Tolerate redundant '.' before '[' in properties file
See: https://www.pivotaltracker.com/story/show/175147973
2020-10-19 10:56:55 -07:00
Nieraj Singh
49aef18f06 Added junits to test Spring project list of libs and version 2020-10-16 13:57:32 -07:00
Nieraj Singh
f90de4c84b PT 173730396 - Initial implementation of generations validation
Includes parsing of spring boot projects from spring.io/api, as well as
spring boot project generations from sample code, and relevant junits.
2020-10-08 15:48:10 -07:00
Kris De Volder
9759551064 Fixup some javadoc explaining problem type metadata generation 2020-10-05 17:08:02 -07:00
Kris De Volder
211bf53123 Make easier to update spring-boot package.json
... with configuration keys for problem severity.
2020-10-05 15:32:52 -07:00
Kris De Volder
60f9f5c0ce TRigger reconcile for all open docs if config changed 2020-10-05 11:40:31 -07:00
Kris De Volder
d2d6de5123 Preference page for boot-ls Java problem severities 2020-10-05 11:18:33 -07:00
Kris De Volder
d1d31e2a7c Bootify: remove deprecated CompletionEngine ...
from CompositeLanguageServerComponents
2020-10-03 18:04:00 -07:00
Kris De Volder
3be81b848f Bootify: BootJavaCompletionEngine 2020-10-03 17:34:55 -07:00
Kris De Volder
83f4b7c96b Remove obsolete code 2020-10-03 14:54:36 -07:00
Kris De Volder
393a257090 Boofity: Spring yaml and properties completion engine 2020-10-03 11:10:25 -07:00
Kris De Volder
a23cf242f8 Bootfication: convert xml completion engine into bean 2020-10-03 10:06:59 -07:00
Kris De Volder
cd0eebcc15 Boot Language Server obeys configured problem severities 2020-10-02 17:47:09 -07:00
Kris De Volder
dbe9520f3d Preference pages for props and yaml ls editor
Allows configuring problem severities.
The ui works but is not yet wired to transmit
these setting to the language server.
2020-10-02 17:47:09 -07:00
Kris De Volder
4f5f690675 Auto escape logger names with . in them
They are used as map keys and will produce a warning otherwise.
2020-09-30 16:26:44 -07:00
Kris De Volder
06bb6e677a Fix test failure 2020-09-30 16:26:11 -07:00
Kris De Volder
08e356f9da Add a warning for 'escapable' yaml map keys
See: https://www.pivotaltracker.com/n/projects/1346850/stories/174872660
2020-09-30 15:51:55 -07:00
Kris De Volder
fbdbc7cb83 Somewhat better handling of escaped '[...]' keys in yaml 2020-09-30 14:01:10 -07:00
Kris De Volder
0f3f3dfce7 Key "handle-as" support in application.yml editor
See: https://www.pivotaltracker.com/story/show/174954118
2020-09-29 14:45:40 -07:00
Kris De Volder
2a9f7db03e Shorter/nicer label for docker process id in live hovers
See: https://www.pivotaltracker.com/story/show/174999085
2020-09-29 10:45:12 -07:00
Kris De Volder
0787fe50fb Try to fix failing test case
Suspected cause: old test project depends on a old
snapshot dependency.

Fix: replace with equivalent release dependency.
2020-09-25 10:06:31 -07:00
Kris De Volder
197298e85d Allow map keys to be surrounded by '[' in .properties file
See: https://github.com/spring-projects/sts4/issues/534

Signed-off-by: Kris De Volder <kdevolder@pivotal.io>
2020-09-17 15:37:39 -07:00
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
93a19fdcc0 fixed issue with symbol indexing and special characters in doc URIs 2020-09-07 16:19:31 +02:00
Martin Lippert
c7c838dced fixed problem with validating spel expressions that include property placeholders, ignoring those spel expressions now for validation 2020-09-07 10:57:36 +02:00
Martin Lippert
0d3de0698f take process name of remote live hover apps into account if available 2020-08-21 12:33:31 +02:00
Martin Lippert
72699659a7 add CacheEvict annotation to SpEL syntax validation config 2020-08-09 17:25:11 +02:00
Martin Lippert
dc3f8fca45 added SpEL syntax validation for ConditionalOnExpression annotation 2020-07-31 07:46:51 +02:00
Martin Lippert
fb0a5273f0 take overall preference for spring xml support into account for spel syntax validation for xml files 2020-07-26 18:43:58 +02:00
Martin Lippert
c04aade997 added spel syntax validation for xml spring config files 2020-07-25 12:06:54 +02:00
Martin Lippert
f5a5599686 enable SpEL syntax validation for anntation hierarchies and fixed additional test cases 2020-07-13 16:26:18 +02:00
Martin Lippert
11df688a3d refactored spel syntax validation and enabled it for additional annotations and named parameters 2020-07-11 22:09:04 +02:00
Kris De Volder
126a14392d Cleanup debug logging 2020-07-09 10:06:56 -07:00
Martin Lippert
56f6f373ba added test cases for spel syntax checking via reconcile engine and improved testability a bit 2020-07-06 15:48:34 +02:00
Martin Lippert
009ae98700 initial version of SpEL syntax validation 2020-07-06 13:04:13 +02:00
Martin Lippert
0c996527c2 avoid temp plaintext documents being created and reused, caused those plain docs to be used later on and created BadLocationExceptions 2020-06-29 18:10:43 +02:00
Martin Lippert
75bdd3f600 fixed problem with automatically connecting to processes to retrieve live data did not work for random cases 2020-06-10 09:49:45 +02:00
Kris De Volder
e87dee6954 Add one more test case for https://github.com/spring-projects/sts4/issues/190
To ensure it works also for integer property.
2020-05-21 16:00:47 -07:00
Kris De Volder
42d34a533f Quick and dirty fix of https://github.com/spring-projects/sts4/issues/190 2020-05-21 15:36:54 -07:00
Kris De Volder
f10a6f2735 Avoid spurious live connection / refresh errors
When process is already destroyed. Stop trying to connect
or refresh data for that process... and don't report errors
about it either.
2020-05-21 11:05:59 -07:00
Martin Lippert
edf29d2d93 updated lsp4j to 0.9.0 release 2020-05-08 16:50:09 +02:00
Kris De Volder
9c8cedb126 Another tweak for https://github.com/spring-projects/sts4/issues/427
Add '{' as a trigger character.
2020-05-07 11:15:44 -07:00
Kris De Volder
6725770df6 Tweak for https://github.com/spring-projects/sts4/issues/427
Allow completion provider to look past a '.' in the completion prefix.
2020-05-05 07:35:58 -07:00
Martin Lippert
67c4e44e63 try to auto-connect to processes only if the corresponding project is known and has actuators in the classpath 2020-05-04 16:04:34 +02:00
Kris De Volder
3b65e1f511 Implementation for https://github.com/spring-projects/sts4/issues/427 2020-04-23 15:44:57 -07:00
Kris De Volder
6d99b2b14e Regression test for GH_427
... not passing yet.
2020-04-23 13:21:08 -07:00
Kris De Volder
a873fcf7ee Fix for GH_449 2020-04-17 12:02:28 -07:00