microsoft / microsoft/vscode-pull-request-github
Support filesFirst in file tree
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.6k
- Forks
- 795
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 46
Description
Currently when view files in tree mode, it always put folders above files. Would be nice to provide options to sort files above folders, so that you can view files directly under a folder, then files in subfolders. Vscode already supports "explorer.sortOrder": "filesFirst", and this would be similar.
For example in this PR, enable it to show package.json and package.nls.json above api, common and github
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the extension's file-tree sorting entry point; the issue does not name a file or test. Compare the requested behavior with VS Code's explorer.sortOrder filesFirst example, then verify that files appear before folders while existing sorting remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100