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
Changing character casing in file name doesn't take effect in editor #100436
Comments
Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/ |
@bpasero Slight modification for version 1.47.0-insider Renaming the file causes the name of the file in the editor tab to change, but it does not change the name of the file in the breadcrumb underneath the tab. When you save the file, the file name in the editor tab reverts itself to the previous casing, even across multiple renames of the file. |
Yeah, my change was not complete. Adding @jrieken for breadcrumb, but I am actually not sure how to fix it there because breadcrumbs are probably just picking on the resource of the input. We might have to expose the |
Yeah, good question. Breadcrumbs use the resource from the file input and actually not just the name but every path segment of it. So, changing the casing of a parent folder would have the same problem... |
I wonder if the generic |
I extracted the breadcrumbs issue into #100633 |
Changing the capitalization of any character(s) in the name of a file in the explorer does not get reflected into the editor, even after closing and re-opening the file. For example:
Expected: The editor tab will show new name "NewFile.js"
Actual: The editor tab shows old name "newfile.js"
Even the tooltip over the editor tab shows the old file name.
VS Code version: Code 1.46.0 (a5d1cc2, 2020-06-10T08:59:06.977Z)
OS version: Darwin x64 19.5.0
The text was updated successfully, but these errors were encountered: