Kris De Volder
6de4f75ecb
Workaround for vscode 1.12 completion sorting issue.
2017-05-10 12:37:38 -07:00
Kris De Volder
f8805be303
Disable de-indented relaxed completions
2017-05-09 11:23:28 -07:00
Kris De Volder
64f0616970
Better handle 'driver' property in semver resource
2017-05-08 17:48:40 -07:00
Kris De Volder
cfbe735ad4
Unused resource -> 'warning' not 'error'.
2017-05-08 11:32:30 -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
Kris De Volder
3d8d7ca119
Fix test failure
2017-05-03 17:28:57 -07:00
Kris De Volder
ddfa9777f8
Small improvement to test coverage
2017-05-03 17:24:07 -07:00
Kris De Volder
642acea0d9
Concourse Reconciler: check for unused resource
2017-05-03 17:19:31 -07:00
Kris De Volder
f5fc8d0601
Relaxed CA with less indentation
2017-05-02 19:15:33 -07:00
Kris De Volder
b53febf31e
Add extra test case
2017-05-02 15:01:44 -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
d47fa48e43
Autoinsert single required proerty after '- '.
2017-04-26 16:50:56 -07:00
Kris De Volder
7c189f7c4a
Additional test for '- ' completions
2017-04-26 08:39:12 -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
9862f49a7f
No 'interacts with' error if resource does not exist.
2017-04-24 09:41:26 -07:00
Kris De Volder
c344c13e5e
Reconciler check that jobs used in 'passed' attribute...
...
... must interact with the resource.
2017-04-22 10:37:59 -07:00
Kris De Volder
da66be7aec
Refactor / simplify how Yaml schema Constraints work:
...
- simplify access to DynamicSchemaContext.
- allow constraints on non-map type nodes.
These changes pave the way to checking inertaction constraint on job-name
used in 'passed' attribute.
2017-04-21 12:16:37 -07:00
Kris De Volder
19471a7e65
Cleanups: unused imports
2017-04-21 09:45:40 -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
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
bbe2bdd54e
Simple test for 'goto symbol' in pipeline.yml
2017-04-13 15:35:51 -07:00
Kris De Volder
3ccb392e6f
Implement 'goto symbol' within pipeline.yml files.
2017-04-13 12:22:49 -07:00
Kris De Volder
d3b244d5de
Fix failing test cases.
2017-04-13 10:09:01 -07:00
Kris De Volder
c86b156e42
Make reconcile for resoure_type type more accurate
...
The string typed in there now must be a resource_type name. So it can not
be empty and can not be some random string.
2017-04-13 10:01:03 -07:00
Kris De Volder
20152be6bf
Don't allow empty string in uri for git resource
2017-04-12 16:32:09 -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
Kris De Volder
f58130e6e7
Reorganize how server capabilites are determined in SimpleLanguageServer
...
Compute it based on registered handlers and quickfixes.instead
of handcrafting it for every subclass.
2017-04-12 11:25:01 -07:00
Kris De Volder
aee00fb487
Add quickfix for missing properties in concourse editor
2017-04-11 17:08:03 -07:00
Kris De Volder
bf8f8cffa9
Moved commons and concourse editor to 'headless-services'
2017-04-06 17:21:53 -07:00