sts4 icon indicating copy to clipboard operation
sts4 copied to clipboard

[Concourse] doesn't know about YAML anchors and aliases

Open OphyTe opened this issue 4 years ago • 5 comments

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.

OphyTe avatar Jun 17 '20 18:06 OphyTe

@kdvolder Can you take a look at this? Sounds to me like we did something in this area a while ago. Can you verify?

martinlippert avatar Feb 13 '21 18:02 martinlippert

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 avatar Feb 14 '21 00:02 OphyTe

@OphyTe I see, agree, the navigation piece is missing and would be a great improvement. Thanks for the quick feedback here.

martinlippert avatar Feb 14 '21 15:02 martinlippert

Hi, any news with this request?

ThibaultDelaune-pro avatar Jan 09 '23 14:01 ThibaultDelaune-pro

@ThibaultDelaune-pro Unfortunately no news on this yet...

martinlippert avatar Jan 09 '23 14:01 martinlippert