简体   繁体   English

有没有办法在 VSCode 测试资源管理器中删除文件路径?

[英]Is there a way to remove file path in VSCode test explorer?

When I use test explorer in VSCode, it shows my files with the file path: Example当我在 VSCode 中使用测试资源管理器时,它会显示我的文件和文件路径:示例

例子

Is there a way to hide the file path and show only the file name?有没有办法隐藏文件路径并只显示文件名?

I'm using Flutter and Dart extensions.我正在使用 Flutter 和 Dart 分机号。

I've search a lot a didn't find nothing that helps me, but in this course that I'm watching, his VSCode shows only the file name: Example我搜索了很多,但没有找到任何对我有帮助的东西,但在我正在观看的这门课程中,他的 VSCode 仅显示文件名:Example

例子

If your goal is just to de-clutter the bar, this might help.如果您的目标只是让酒吧变得整洁,这可能会有所帮助。

In the Test Explorer tab, click on the three dots on the right side:在 Test Explorer 选项卡中,单击右侧的三个点: 测试资源管理器选项卡

From there, choose "View as List" at the bottom:从那里,选择底部的“View as List”:

测试资源管理器选项

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM