-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
Visual Studio Code Feature Request - Folder and files sort order #145164
Comments
Hello @rodneyazev. The files are sorted alphabetically, actually. The difference lies in Windows Explorer, that treats special characters such as hyphen to succeed letters in sorting, the opposite of what VS Code does. For Code, any special character will precede the letter "a", making such files appear first. You can observe in your screenshot that all files are correctly sorted, considering my explanation. If you want to customize the sort order of files in the Explorer view, you can take a look at the following settings:
Note, however, that the character sorting that makes hyphens and other symbols precede letters can not be changed. |
Hi @brunovieira97 , I tried use these sort methods, but none of them were able to do exactly as I would like to see to maintain my files organized making it easy to maintain as the project grows. I think maybe they could consider the hyphen too as well as the number of character, as we can see in Windows Explorer, Spring Tools, and others IDE / Editors. Image maintain thousands of kubernetes environments, files codes, etc. It would be very complicated to give a properly support. This is something may they could implement in vscode. This would be a welcome improvement for us working with vscode. |
Duplicate of #27759 Please read #27759 (comment) and #27759 (comment) |
I guess what @rodneyazev essentially needs is not alternative sorting rules but file nesting (#6328). |
Thank you guys. Closing this one as there is another one right here #27759 |
I would appreciate it if vscode could sort these files alphabetically, it would help me keep my codes organized, just like the sort order in Windows Explorer, same as Spring Boot
Could be possible? If you dont mind. Thanks in advance.
Follows an example (sorted):
The text was updated successfully, but these errors were encountered: