dawsbot / RelativePath

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

Relative path input support #30

Open CodingDive opened 6 years ago

CodingDive commented 6 years ago

Hey, thank you for this great extension. I would love to see support for inputting a relative path into the field and have the files of the folder displayed. Sometimes I know the hierarchy of my files but don't know the exact name + want autocomplete.

 a/
 ├── b/
 ├── | foo.js
 ├── | bar.js
 ├──├── c/
 ├──├── | biz.js

Inside biz.js one should be able to type ../ in the relative path input field and foo.js, bar.js should show up. Likewise given a developer is currently inside the bar.js file, typing ./ should display foo.js. Let me know what you think and if I should prepare a PR :)

rrag commented 6 years ago

sounds like https://github.com/ChristianKohler/PathIntellisense extension. have you tried it out?

CodingDive commented 6 years ago

Yes, it is great. I'm already using it.

dawsbot commented 4 years ago

I see what you mean @CodingDive, we'd be open to a PR!

For anyone interested, this is what the feature request is. This input of "../" from this file in pages/index.js should yield "package.json" and "package-lock.json":

image