-
Notifications
You must be signed in to change notification settings - Fork 35
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
Sublime expands file name to absolute path #1573
Comments
Sublime Text does not treat the working directory in any special way, because a ST session is both directory- and file-independant. I.e. you can open multiple files in a single ST process and they can be any files in your file system. As such, it would make little sense to show only relative paths to the working directory because that makes ST behave inconsistent. The only part where the working directory matters is when opening files or folders from the commandline, which you displayed as working correctly. |
do not understand. Why if file is opened from directory |
In any case
But it is not expected that it resolves sym links too |
I did not found I do not think this issues belongs to the referred one. But I agree that this is some problem with symlinks |
Hi. again. I have found this doc Doc says:
but did not answer:
Please explain or update doc. thank you. |
It would make sense to show relative path the project root. It really makes sense here.
No, it works incorrect The expected path is: So. When sublime text is given relative path and invoked from command line |
Also |
I dig a bit and the problem maybe with
So when sublime text is given relative file name and you turn it into absolute. You should use value from Hope this will help. |
Sublime should use current folder instead of absolute path.
Implement option to expand absolute path if someone need one
Environment
The text was updated successfully, but these errors were encountered: