microsoft / microsoft/vscode-pull-request-github

Support filesFirst in file tree

未关闭
#8,575 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature-request
主要语言
TypeScript
星标
2.6k
派生
795
平均合并
1 天 4 小时
30 天内合并 PR
46

描述

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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先跟踪扩展的文件树排序入口;issue 没有指定文件或测试。将所请求的行为与 VS Code 的 explorer.sortOrder filesFirst 示例进行比较,然后验证文件是否显示在文件夹之前,同时保持现有排序不变。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript, vscode
领域
frontend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。