language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

VSCode: cmd-click to open resources in /public

Open IanVS opened this issue 4 years ago • 1 comments
trafficstars

Background & Motivation

It would be great to be able to cmd+click on absolute paths to resources in /public from within astro components. So, for example, clicking on the path in <img src="/images/hero.svg"/> would open up /public/images/hero.svg.

Proposed Solution

Possible solutions

Incorporate into VSCode extension.

Detailed Design

No response

Help make it happen!

  • [ ] I am willing to submit a PR to implement this change.
  • [ ] I am willing to submit a PR to implement this change, but would need some guidance.
  • [X] I am not willing to submit a PR to implement this change.

IanVS avatar Aug 05 '21 14:08 IanVS

I believe this would the reference to the documentation for this particular request, https://code.visualstudio.com/docs/editor/editingevolved#_go-to-definition

aFuzzyBear avatar Aug 05 '21 14:08 aFuzzyBear