nsingh
464e36ad2d
Further doc change
2017-08-02 12:44:30 -07:00
nsingh
edc94daa4f
Changed doc to be clearer on the contract for checkpoint method
2017-08-02 12:43:52 -07:00
nsingh
0c10f2eafe
Merge branch 'master' into async_validations
...
Conflicts:
headless-services/commons/commons-util/src/main/java/org/springframework/ide/vscode/commons/util/EnumValueParser.java
2017-08-02 12:16:33 -07:00
nsingh
ef3981b162
Adding docs and some code cleanup
2017-08-02 10:51:00 -07:00
Kris De Volder
88c703e9e5
Snippets now mostly working all tests passing.
2017-08-02 09:11:13 -07:00
nsingh
0a530d9e32
Separate delayed constraints into slow and fast collections
...
The slow part is for CF-related constraints like long-running value
parsers. Also, the "fast" constraints and other problems are reported
first via a new checkpoint call to the problems collector. The complete
list of problems are then reported afterwards at the end of the
collection, like before.
2017-08-01 13:48:27 -07:00
Kris De Volder
d9f2047bcf
Snippet generator mostly working, still needs some tweaks / bug fixes.
2017-08-01 12:05:25 -07:00
Kris De Volder
a92accde86
Improve CachingModelProvider to wrap a cache around the models it provides
2017-07-27 13:09:12 -07:00
BoykoAlex
a8c4cc065f
Fix NPEs for doc not being in the cache
2017-07-26 20:56:29 -04:00
Kris De Volder
00972506e5
Wire up BoshCliConfig so it gets used.
2017-07-26 13:39:07 -07:00
Martin Lippert
a4defe091a
first steps towards symbol in file navigation for spring annotations
2017-07-21 16:41:25 +02:00
Kris De Volder
27f5e4eca9
Merge branch 'master' of github.com:spring-projects/sts4
2017-07-20 14:36:52 -07:00
BoykoAlex
6e8f7cb264
System property not to remove indentation from completions edits
2017-07-20 16:04:18 -04:00
Kris De Volder
43964ae219
Cleanup log messages
2017-07-20 11:25:54 -07:00
Kris De Volder
2ceaff0d07
System property to disable lazy completion items
2017-07-20 09:27:03 -07:00
Kris De Volder
e1825d0daf
Extremely 'minimal' support for bosh deployment manifest editing
2017-07-10 13:39:51 -07:00
nsingh
5ccb92f84e
PT 147263283 - Workaround for issue in STS manifest editor
...
STS manifest editor deletes all error and warning markers on document
save. This is a problem with the YEdit editor that STS manifest editor
extends, and not with vscode manifest language server. This is just a
temporary workaround until STS no longer needs the YEdit-based editor
and uses LSP4E editor instead.
2017-06-23 15:23:05 -07:00
Kris De Volder
7127c5b78a
Cleanup debug logging
2017-05-10 13:25:03 -07:00
Kris De Volder
6de4f75ecb
Workaround for vscode 1.12 completion sorting issue.
2017-05-10 12:37:38 -07:00
Kris De Volder
f26f189fcb
Cleanup: fix some confusing variable naming
2017-05-09 11:32:09 -07:00
Kris De Volder
f8805be303
Disable de-indented relaxed completions
2017-05-09 11:23:28 -07:00
Kris De Volder
a687a27d8d
Avoid stray reconciler errors on language switch
2017-05-08 14:23:58 -07:00
Kris De Volder
3e7944d47d
Cut down on the noise in content assist
...
Use a 'tiered' model for properties
- primary property
- requred
- other
Only suggest completions for a tier if the properties in the preceding tier
are already defined.
2017-05-05 15:18:36 -07:00
BoykoAlex
d7eda61c99
Rework mutually exclusive constraint
2017-05-03 17:47:15 -04:00
Kris De Volder
f5fc8d0601
Relaxed CA with less indentation
2017-05-02 19:15:33 -07:00
Kris De Volder
cfe489d1c2
Refactoring: Dashed-completion relaxation ...
...
Is now less coupled with the completion engine, but handled internally by the YamllAssistContext instead.
2017-05-02 11:19:08 -07:00
Kris De Volder
4a6b71f1fb
Move cursor after insert required properties quickfix
2017-05-01 17:53:29 -07:00
Kris De Volder
76c7c3c791
Add support to DocumentEdits to 'freeze' cursor
2017-05-01 14:50:44 -07:00
Kris De Volder
5ccb3e5f22
Content assist for 'domains' inside of route-strings
2017-04-28 18:20:34 -07:00
Kris De Volder
9e0513663c
Improve content assist for services (auto inserting dashes)
2017-04-26 11:11:40 -07:00
Kris De Volder
b866649a3d
Relaxing yaml proposals for '- '.
2017-04-25 18:08:05 -07:00
Kris De Volder
7ce8ea1a0e
Quickfix for health-check-type: none
2017-04-24 15:09:13 -07:00
Kris De Volder
e493724543
Cleanups: debug output
2017-04-24 09:48:56 -07:00
Kris De Volder
2181130e78
Increase default limit on completion results to 50
2017-04-21 09:52:59 -07:00
Kris De Volder
7aa4843b59
Position problem marker for 'top level' missing prop at end of document
2017-04-20 15:39:35 -07:00
Kris De Volder
5284d96533
Cleanups: more type-checked representation of LanguageId
2017-04-20 13:57:56 -07:00
Kris De Volder
e83059c1b4
Fix NPEs causing test failures
...
These happen for language-server that don't
have any quickfixes.
2017-04-20 12:09:52 -07:00
Kris De Volder
0ca361f098
Simplify quickfix support (no dynamic command registration)
2017-04-20 11:47:33 -07:00
Kris De Volder
a3f08a7c3e
Cleanup: fix some comments
2017-04-20 10:33:06 -07:00
Kris De Volder
954041182b
Cleanup/remove custom protocol bits used by quickfixes
...
Make use of proper LSP V3 apis: `client/registerCapability`, `workspace/executeCommand` and `workspace/applyEdit` instead.
2017-04-20 10:21:57 -07:00
Kris De Volder
a83fbec945
Update to lsp protocol v3
2017-04-19 16:06:39 -07:00
Kris De Volder
8af1d9f0c4
When completing a resource type name, also insert required properties
2017-04-18 17:34:26 -07:00
Kris De Volder
185b666253
Fix race-condition: reconciler versus ast cache
2017-04-17 12:28:21 -07:00
Kris De Volder
e0103c1352
Some refactorings towards fixing a nasty race condition
...
See: https://www.pivotaltracker.com/story/show/143694789
This work is not yet complete (everything still works as before, but a race condtion between clearing AST cache and using AST for reconciles remains).
2017-04-14 10:41:20 -07:00
Kris De Volder
c520ef833e
Add warning comment in anticipation of fixing bug
2017-04-13 15:52:15 -07:00
Kris De Volder
3ccb392e6f
Implement 'goto symbol' within pipeline.yml files.
2017-04-13 12:22:49 -07:00
Kris De Volder
c1642a1d4c
Cleanup debug output related to 'codeAction' handling
2017-04-13 09:30:10 -07:00
Kris De Volder
d601b0427d
Fix failing tests
2017-04-12 16:11:33 -07:00
Kris De Volder
f2bc237b53
Fix conflict between sts.quickfix command registrations ...
...
... from different vscode extensions activated simultaneosly.
2017-04-12 16:04:12 -07:00
Kris De Volder
87a7026215
Add some tests for quickfixes
2017-04-12 14:53:48 -07:00