microsoft / microsoft/vscode-pull-request-github

Support filesFirst in file tree

Open
#8,575 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
TypeScript
Stars
2.6k
Forks
796
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.