Visual Studio代码-在资源管理器视图中拼合包 [英] Visual Studio Code - flatten packages in explorer view

查看:80
本文介绍了Visual Studio代码-在资源管理器视图中拼合包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人知道如何在Visual Studio Code中扁平化包结构.

I would like to know if anyone knows how to flatten the package structures in Visual Studio Code.

我以前在IntelliJ IDE中拥有此功能,但是使用VS Code时,找不到类似的选项.我正在寻找可以解决此问题的任何解决方案.更改设置或扩展名(如果可用).

I used to have this in my IntelliJ IDE, but with VS Code I can't find a similar option. I am looking for any solution which could resolve this. Either changing settings or extensions if available.

推荐答案

This is supported since the 1.41 release (November 2019) and enabled by default. VSCode calls this feature "compact folders", and it can be disabled like this:

"explorer.compactFolders": false

(发行说明中的​​gif)

(gif from the release notes)

这篇关于Visual Studio代码-在资源管理器视图中拼合包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆