如何在Visual Studio Code的文件夹视图中按类型对文件排序

fat*_*fat 8 visual-studio-code

使用Visual Studio Code,打开文件夹视图时如何按类型对文件排序?

Haa*_*Leo 13

要按类型对资源管理器视图的文件进行排序,请在用户设置(settings.json)中添加以下选项:

"explorer.sortOrder": "type"
Run Code Online (Sandbox Code Playgroud)

自vscode 1.15版开始提供此功能


小智 11

在设置页面中搜索“资源管理器”,您可以在那里更改排序顺序的控制。在此处输入图片说明