-
Notifications
You must be signed in to change notification settings - Fork 185
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
On Windows, the drive letter in server responsed file URIs are lowercase. #1770
Comments
Why? |
Because (I think) it's Windows' default, unless the user somehow uses lowercase intentionally. Or LSP is able to tell which case is actually used. |
There is another problem with the lowercase drive letters when opening a file: even though Sublime highlights the correct file in the sidebar (if it is a file from an opened folder), it doesn't it doesn't show the git status in the status bar for files with lowercase drive letter (if it is part of a git repo). So we should normalize the drive letter to uppercase. |
Another thing that doesn't work as intended is the quick panel for "Find References" if "show_references_in_quick_panel" is And I think I've found another bug (?) in Line 24 in ef40138
this line does nothing because the return value is not assigned to a variable (strings are immutable in Python afaik). |
Awesome! Confirm fixed on my side as well. Thanks! |
Describe the bug
I tried both intelephense and pyright, they both returned lowercased drive letter thus I suspect it's a standard. (or maybe VSCode's LSP lib does it)
bandicam.2021-06-30.20-32-59-335_x264.mp4
In "Goto Definition...", this causes ST to open a file whose drive letter is in lowercase. And that may cause various mysterious problem sometimes... Or maybe, this should be fixed in ST core.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The drive letter should be uppercase.
Environment (please complete the following information):
Additional context
This is a Windows-only issue as it's case-insensitive.
The text was updated successfully, but these errors were encountered: