Open CelianR opened 6 months ago
This would be suuuuper useful !
Hi @msivasubramaniaan 👋 Do you have any feedback about this PR ? Tell me how you find this work / if some changes are necessary in order to be merged, this would be a great addition to the LSP in my opinion !
What issues does this PR fix or reference?
This references the GitlabCI Support issue : https://github.com/redhat-developer/yaml-language-server/issues/972
Is it tested? How?
Tested on VsCode (vscode-yaml extension)
Details
Changelog
gitlabci.enabled
/gitlabci.codelensEnabled
option!reference
tags are not unknown ifgitlabci.enabled
optionextends
nodes!reference
tags (recursive: multiple definitions will be found if a job extends a job extending another job)needs
tagsinclude
nodesgitlabci.codelensEnabled
option) which go to references to each job (used within needs and extends)Screenshots
Go to includes (ctrl click on vscode)
Show / go to definitions for
needs
/!reference
(ctrl hover / ctrl click on vscode)Show job hierarchy with mouse hover
Show / go to definitions with
extends
(shows the recursive hierarchy)Show usages code lens (when clicked)