-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow ~ for C:\Users\<username> #2
Comments
Thank you. I am happy that you liked the extension. As for your suggestion I thing the better approach would be to use expandable environment variables:
Just to be more consistent with traditional user experiences with FS. Will be done in the next release. |
Would these work on Linux as well? Folders like Dropbox usually located in the user's home directory would work then as well.. |
Yes. Though Linux has it's own set of envars. |
Yeah, maybe if the extension had its own variables for specific folders (eg <home>) and handles those accordingly to the operating system? |
It does not feel right though. What you are proposing is the design when the extension becomes a File System and OS aware solution. And this is a truly wrong role for an extension. The scope of responsibilities of any extension ends at the boundaries of the extension host. You can achieve the desired behavior by simply defining your own variables and then freely using them as you want:
|
I see, sounds great. Looking forward to the update. |
- Implemented extending envars in the path of the item definition (Issue #2). - Implemented 'command-node' for opening parent folder node. To address usability problems caused by VSCode TreeView item defect (microsoft/vscode/issues/34130 and patrys/vscode-code-outline/issues/24)
Awesome, works like a charm! Thanks! |
Hi,
first of all thanks for this great extension!
I would like to know it if would be possible to have a variable like ~ to be resolved to the users home folder for example.
This way I could change the entries in my favorites.txt to look like this ~\Documents\whatever.txt and use them accros multiple computers.
Keep up the great work!
The text was updated successfully, but these errors were encountered: