sublime-path-tools icon indicating copy to clipboard operation
sublime-path-tools copied to clipboard

Support for relative paths

Open TrevorBurnham opened this issue 10 years ago • 2 comments

If I have a project open, I'd generally prefer to get a path of the form

/src/myfile.js

rather than

/Users/tburnham/projects/new_project/src/myfile.js

Do you have any plans to add this functionality (perhaps as a preference)? I see that another plugin, WPath, does this: https://github.com/jtwebb/WPath

TrevorBurnham avatar Jan 23 '14 20:01 TrevorBurnham

Good idea, I like it!

pjdietz avatar Jan 24 '14 14:01 pjdietz

Would it be better to remove the leading / of the relative path after replacing folder with empty string?

shunwen avatar Jun 16 '14 08:06 shunwen