sts4
sts4 copied to clipboard
[Concourse] doesn't know about YAML anchors and aliases
The VSCode Concourse CI extension doesn't know about YAML anchors and aliases to navigate into the pipeline.yaml file.
services:
# Node.js gives OS info about the node (Host)
nodeinfo: &function
image: functions/nodeinfo:latest
labels:
function: "true"
depends_on:
- gateway
networks:
- functions
environment:
no_proxy: "gateway"
https_proxy: $https_proxy
deploy:
placement:
constraints:
- 'node.platform.os == linux'
# Uses `cat` to echo back response, fastest function to execute.
echoit:
<<: *function
image: functions/alpine:health
environment:
fprocess: "cat"
no_proxy: "gateway"
https_proxy: $https_proxy
It should be great if we could go to an alias with Ctrl+click and if anchors were shown in the outline view.
@kdvolder Can you take a look at this? Sounds to me like we did something in this area a while ago. Can you verify?
Hi, @kdvolder had fixed the issue with the outline view in files with anchors and references (cf https://github.com/spring-projects/sts4/issues/483).
But this one is to add a functionality to navigate easily to the anchors definition (with the ctrl+clic or ctrl+shift+o shortcut or outline view). Currently, this extension doesn't offer that.
@OphyTe I see, agree, the navigation piece is missing and would be a great improvement. Thanks for the quick feedback here.
Hi, any news with this request?
@ThibaultDelaune-pro Unfortunately no news on this yet...