dawsbot / RelativePath

VSCode Relative path plugin
https://marketplace.visualstudio.com/items?itemName=jakob101.RelativePath
MIT License
69 stars 22 forks source link

Is there a way to select already opened file instead of doing cmd+shift+h? #48

Closed techsin closed 3 years ago

techsin commented 3 years ago

sometimes file have the same and it's just easier to open the file and see it, now if i've file open i want to be able to 'select' it and then come back into file where i want to import and then paste it there.

dawsbot commented 3 years ago

I don't think that's supported. The work-flow I use if there are multiple files with similar names is:

  1. Right click the target file in the left-nav and select "copy relative path"
  2. Go to the file you'll be importing from and cmd+shift+h
  3. Paste in the relative path and that often gives me the one file I want to import.

If you know how this mechanism might be improved, feel free to re-open @techsin 🙏

techsin commented 3 years ago

these steps should be documented under readme