1295 Commits

Author SHA1 Message Date
Kris De Volder
76c7c3c791 Add support to DocumentEdits to 'freeze' cursor 2017-05-01 14:50:44 -07:00
Kris De Volder
86a2dd63c5 Be a little less eager to retry failed network requests
This is to avoid bogging down the reconciler thread with repeated
failing network calls in a short span of time.

See https://www.pivotaltracker.com/story/show/143347079
2017-05-01 10:38:36 -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
1966affe05 Verify constraints around 'health-check-http-endpoint' prop 2017-04-27 16:50:23 -07:00
Kris De Volder
6ab32ac53e Fix compile errors due lsp4j api changes 2017-04-27 13:51:19 -07:00
Kris De Volder
f9722b85e5 Reconcile and CA for 'stack' property in manifest.yml 2017-04-27 11:31:30 -07:00
Kris De Volder
d47fa48e43 Autoinsert single required proerty after '- '. 2017-04-26 16:50:56 -07:00
Kris De Volder
66704bec00 More tweaking to relaxed context assist 2017-04-26 14:00:52 -07:00
Kris De Volder
17ce903577 Small tweak to auto-dash insertion 2017-04-26 11:41:29 -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
b6d0531625 Cleanup unused unresolvable import 2017-04-25 18:12:15 -07:00
Kris De Volder
b866649a3d Relaxing yaml proposals for '- '. 2017-04-25 18:08:05 -07:00
Kris De Volder
2cdf0af492 Add target description to domains CA hints 2017-04-24 17:15:09 -07:00
Kris De Volder
e8951b27a3 Cleanup imports 2017-04-24 15:21:59 -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
411ea55bbb Cleanup: comment spelling 2017-04-22 10:57:30 -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
2181130e78 Increase default limit on completion results to 50 2017-04-21 09:52:59 -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
25e9aacf5b Testharness: ability to check 'context' of problem markers 2017-04-20 14:32:10 -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
30ef77eb28 Re-enable tests (still failing or not?) 2017-04-19 16:14:09 -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
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
c1642a1d4c Cleanup debug output related to 'codeAction' handling 2017-04-13 09:30:10 -07:00
Kris De Volder
776e35c8c8 Make 'none' flagged as deprecated in manifest.yml 2017-04-12 17:36:39 -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
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
BoykoAlex
55f50029e9 Route validation
Route value validation

Adjust validation

Unit tests
2017-04-07 13:20:14 -04:00
Kris De Volder
bf8f8cffa9 Moved commons and concourse editor to 'headless-services' 2017-04-06 17:21:53 -07:00