In atom.io, if I right click in "wrappedlabel" here:
<label class="wrappedlabel">"Be Kind to Animammals - Kiss a Duckbilled Platypus Today"</label>
...it teases me with "Go to Declaration"
Clicking does not take me to that class in the .css file in the project.
Is there a way to get this to actually work? If so, it would be an even sweeter suite. Having it tell me "Go to Declaration" and then leaving me hanging is better than telling me to "go to" [somewhere else], but still...
Atom and other text editors are able to interpret file extensions and provide language-specific syntax highlighting. Syntax highlighting is a tool for making code easier to read. Take a look at your index. html file.
"Go to declaration" works with symbols used in your project.
The feature requires ctags which need to be generated per project. This can be achieved with the command line or with an atom plugin (https://atom.io/packages/symbol-gen) .
You can follow this issue on github for further details
In a terminal run
apm install atom-ctags
Restart atom (sometimes twice)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With