RelativePath icon indicating copy to clipboard operation
RelativePath copied to clipboard

Relative path input support

Open CodingDive opened this issue 7 years ago • 3 comments

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 :)

CodingDive avatar Oct 01 '18 01:10 CodingDive

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

rrag avatar Oct 01 '18 03:10 rrag

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

CodingDive avatar Oct 03 '18 00:10 CodingDive

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

dawsbot avatar Mar 11 '20 12:03 dawsbot