353 Commits

Author SHA1 Message Date
Kris De Volder
eaafc90197 Support for time resource type 2017-04-06 08:56:24 -07:00
Kris De Volder
ec042b7003 Relaxed indentation context... support for sequence context 2017-04-05 14:31:38 -07:00
Kris De Volder
d0fd620fec Relaxed indentation context 2017-04-04 18:02:32 -07:00
Kris De Volder
d56937591c Undo the changes that show missing toplevel property at end of file 2017-04-03 16:59:14 -07:00
Kris De Volder
dcd871631c Additional improvements for PT-140709005
For missing properties in toplevel nodes, place the error marker at the
end of the document.
2017-04-03 14:57:59 -07:00
Kris De Volder
f96495e3ef Additional improvements for PT-140709005
For missing properties in nodes in a sequence, try to underline the corresponding '-' in the input associated with the sequence node,  instead of
underlining the entire node that is missing the property.
2017-04-03 14:33:12 -07:00
Kris De Volder
88013ef803 Fix PT-140709005 better underlining for missing property warnings
Try to underline corresponding parent property key instead of the entire node that is missing the property.
2017-04-03 12:11:34 -07:00
Kris De Volder
f64b90e19c Refactor so that 'missing property' marker is created in one place
This is in preparation to change the logic of how marker location is determined.
2017-04-03 11:36:58 -07:00
Kris De Volder
3e73814aa9 Reconcile: 'image' attribute in a task step should refers to a resource name 2017-04-03 11:16:51 -07:00
Kris De Volder
6191c23b23 Fix a bug and fix tests so it catches that kind of bug in future.
Bug caused by using == to compare Language ids instead of .equals
2017-04-03 10:27:55 -07:00
Kris De Volder
3b7d8710bb Tweak test: check that 'Deprecated' problem is severity warning. 2017-04-03 09:42:39 -07:00
Kris De Volder
18c5fc2ebc Add deprecated warning for 'image_resource' and 'image' in embedded task 2017-04-03 09:40:35 -07:00
Kris De Volder
2790976983 Fix PT-142788419 more accurate checking of constraints
The use of 'image' and 'image_resource' in an embedded task config is only
required if it is not already defined in the task itself.
2017-03-31 17:42:55 -07:00
Kris De Volder
8c752ebdbd Add regression test (disabled) for 'relaxed indent context' feature
Suspending work on this for now, to be resumed later.
2017-03-08 11:21:08 -08:00
Kris De Volder
c60de23c62 Make 'inputs' property in TaskConfig no longer required. 2017-03-03 15:31:54 -08:00
Kris De Volder
6dec704f3c Avoid crashing language server for 'strange' content assist contexts.
When outside of a meaningful yaml document (i.e. somewhere before
the document marker that starts the first yaml document), invoking content
assist crashed the language server.

Now it just produces no completions instead.
2017-03-03 14:56:54 -08:00
Kris De Volder
ff531d3a9b Fix PT_140711495: triple dash disrupts content assist 2017-03-03 13:47:50 -08:00
Kris De Volder
3267d1de7c Property constraint violations in concourse editor are warnings. 2017-03-01 16:49:18 -08:00
Kris De Volder
2c387582d8 Fix another test failure 2017-02-27 16:32:59 -08:00
Kris De Volder
ba78e64301 Fix typo in readme 2017-02-07 13:45:47 +08:00
Kris De Volder
669a8174b5 Fix dependency issue 2017-02-02 10:37:34 -08:00
Kris De Volder
914f074ae2 Bump version number in concourse language server pom 2017-02-02 10:05:47 -08:00
Kris De Volder
76cdfc732d Bump version number in package.json for concourse editor. 2017-02-02 09:41:09 -08:00
Kris De Volder
bfbc8e5083 Adjust jvm heap sizes for vscode extensions about to be released. 2017-02-01 10:06:32 -08:00
Kris De Volder
d139d38e98 Update readme for concourse editor 2017-01-31 12:52:17 -08:00
Kris De Volder
98148c08b6 Screenshots for concourse editor 2017-01-31 12:46:32 -08:00
Kris De Volder
4e8756ed75 Fix small typo on hoverdocs 2017-01-30 16:24:08 -08:00
Kris De Volder
42239fd952 Support for semver resource 2017-01-30 13:49:59 -08:00
Kris De Volder
3702cc556f Support for pool is implented. Add it to the readme 2017-01-29 13:16:25 -08:00
Kris De Volder
4df86968c6 Make put/get resource name conditional on absence of explicit resource attribute 2017-01-29 12:35:42 -08:00
Kris De Volder
f615f171d1 Support for 'pool' resource type 2017-01-29 10:01:06 -08:00
Kris De Volder
96d7c6c687 One-of constraint applied to task config 2017-01-28 18:47:02 -08:00
Kris De Volder
8f9057cc5f One-of constraint applied to TaskStep 2017-01-28 18:41:27 -08:00
Kris De Volder
4254f38e95 Support one-of contraints and apply it for S3 source 2017-01-28 18:35:06 -08:00
Kris De Volder
928817a6b5 Add support for s3 resource type 2017-01-28 14:49:34 -08:00
Kris De Volder
8695e66626 Inprove readme for concourse editor 2017-01-27 19:39:33 -08:00
Kris De Volder
25a019d193 Inprove readme for concourse editor 2017-01-27 19:38:54 -08:00
Kris De Volder
b266c1dd81 Inprove readme for concourse editor 2017-01-27 19:33:57 -08:00
Kris De Volder
074dbdc0b7 Hover infos for 'name' and 'path' attributes in inputs/outputs of a task.yml 2017-01-27 09:06:10 -08:00
Kris De Volder
c8e5c6e3c5 Support (CA/hover/reconcile) for task.run sub-properties 2017-01-26 18:31:41 -08:00
Kris De Volder
3c3eb58970 Make CA/validation/hovers work for embedded task config 2017-01-26 16:42:11 -08:00
Kris De Volder
b9594c1d81 Fix bug: concourse editor CA and hovers not activating for task files. 2017-01-26 16:26:17 -08:00
Kris De Volder
0a92010d76 Add hovers for all toplevel task properties 2017-01-26 15:51:46 -08:00
Kris De Volder
4fd18c9a7c Hover info provider for tasks wired-up properly
Note: still need to add the markdown blobs for most properties however.
So you still won't see much info in the hovers.
2017-01-26 15:19:59 -08:00
Kris De Volder
f408e7c87f Content assist working for task.yml files 2017-01-26 14:52:21 -08:00
Kris De Volder
ae3218ba66 Define basic structure for task.yml files 2017-01-26 12:20:18 -08:00
Kris De Volder
df4929f93a Add test for task toplevel property reconcile
Note: The test is still failing
2017-01-26 10:47:39 -08:00
Kris De Volder
6fc28357aa Enable concourse editor for task files. 2017-01-26 10:04:46 -08:00
Kris De Volder
1306dbac98 Check for duplicate resource_type names 2017-01-25 15:07:17 -08:00
Kris De Volder
281feebe1f Goto Definition for resource_types 2017-01-25 14:59:36 -08:00