-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Adds a new explorerViewer sort order configuration item, barrelFirst #73930
Adds a new explorerViewer sort order configuration item, barrelFirst #73930
Conversation
… This setting sorts barrel files (index.js, index.ts, etc.) in alphabetical order above all other files. Folders remain above all files including barrel files.
Thanks for this PR. However it is usually great to first start a discussion before imlpementing the whole PR. |
That's fair enough. It doesn't specifically look at file extensions like |
Unfortunetely this is not possible using an extension. And that is one of the reason why I will keep this PR open for now, since there is no other way to achieve this. |
Clossing as out of scope. |
Is there another way to achieve this yet? Is there a plan to open up API to allow this or anything further? |
There is currently no way to achieve this. We do not plan to open up the API. |
Recommend changing 'barrel' to 'index' in every use across this PR to make the name more intuitive and specific. Hoping this gets resolved some day... |
This setting sorts barrel files (index.js, index.ts, etc.) in alphabetical order above all other files. Folders remain above all files including barrel files.
Partially addresses #27286 (still open but not specifically calling for this) and a comment requesting this feature on a now closed issue, #12345.