sublime-yaml-nav icon indicating copy to clipboard operation
sublime-yaml-nav copied to clipboard

Support for YAML anchors?

Open Hunter-Github opened this issue 10 years ago • 1 comments

Currently, doesn't identify various objects by their anchors and, correspondingly, is pretty much frustrated when told to jump to any object in particular.


---
- step:  &id001                  # defines anchor label &id001
    instrument:      Lasik 2000
    pulseEnergy:     5.4
    pulseDuration:   12
    repetition:      1000
    spotSize:        1mm

- step: &id002
    instrument:      Lasik 2000
    pulseEnergy:     5.0
    pulseDuration:   10
    repetition:      500
    spotSize:        2mm

- step: *id001                   # refers to the first step (with anchor &id001)
- step: *id002                   # refers to the second step
- step: *id001
    spotSize: 2mm             # redefines just this key, refers rest from &id001
- step: *id002

Hunter-Github avatar Jul 22 '15 12:07 Hunter-Github

Now we have plugin FindYamlAnchor

talkerbox avatar Aug 15 '16 07:08 talkerbox