Commit Graph

754 Commits

Author SHA1 Message Date
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
f23f20af37 Save action preferences 2017-04-20 14:32:39 -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
cc5b70a4f7 Cleanup: remove remnants of code that was already moved 2017-04-20 10:35:52 -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
Martin Lippert
6b0fc18b11 Merge branch 'master' of github.com:spring-projects/sts4 2017-04-20 11:21:23 +02: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
Martin Lippert
5ea7cf2796 removed thym feature 2017-04-19 11:57:11 +02:00
Martin Lippert
b38b622616 updated orbit repo to include missing dependencies 2017-04-19 11:52:40 +02:00
Martin Lippert
6b5c104207 exclude specific repackaged dependency to avoid dep resolution issues 2017-04-19 11:36:09 +02:00
Martin Lippert
5455283c2a trying to ignore transitive dependencies from language servers 2017-04-19 11:18:17 +02: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
e34740b05c Revert "remove outdated local repo def"
This reverts commit 2c7a240650.
2017-04-18 10:09:11 -07:00
Martin Lippert
2c7a240650 remove outdated local repo def 2017-04-18 17:36:18 +02:00
Martin Lippert
7f127bd898 fixed outdated references to old language server artifact IDs 2017-04-18 15:40:42 +02:00
Martin Lippert
1b47102fcf made tests more robust because references could be found in random order 2017-04-18 15:20:19 +02:00
Kris De Volder
185b666253 Fix race-condition: reconciler versus ast cache 2017-04-17 12:28:21 -07:00
Kris De Volder
d7e456c3da Remove -U flag from mvn builds for better use of mvn cache 2017-04-14 10:52:23 -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
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
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
a6ac867f7a New values process and http for health-check-type 2017-04-12 16:56:18 -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
4cfca1693f Fix mismatch between client/server name for 'sts.quickfix' command 2017-04-12 16:23:54 -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
2549956562 Make qucikfix infrastructure work across concourse and cf editors 2017-04-12 11:56:02 -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
8c417d4922 Fix compile error due to api change. 2017-04-11 17:15:43 -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
7e2f6a6c9c Cleanups: remove some obsolete stuff from pipeline 2017-04-07 18:11:03 -07:00
Kris De Volder
a7670feb5d Fix 'build-mvn-cache' job.
There no longer any maven bits in vscode-extensions, so don't go
trying to run mvn there.
2017-04-07 15:45:12 -07:00
Kris De Volder
996709904f Spit vscode-manifest-yaml to create separate language-server 2017-04-07 15:41:06 -07:00
Kris De Volder
c5a22086d8 Re-enable ignored tests 2017-04-07 15:15:32 -07:00