Showing path in file-tabs in Visual Studio Code

后端 未结 4 507
终归单人心
终归单人心 2020-12-07 13:00

I\'ve got a component-based folder structure in my project. It is a bunch of component-folders with one index.js file each.

Is it possible to make Visua

4条回答
  •  旧巷少年郎
    2020-12-07 13:40

    Visual Studio Code has now improved their tab-UI to resolve this issue.

    When you've opened multiple tabs with the same filename, Visual Studio Code will automatically display the parent foldername in each of those tabs.

    Here's an example: I've opened event.js and two index.js files. Visual Studio Code automatically decides it's a good idea to display the foldername for the index.js files :)

    It pretty much solved the bulk of my problem.

提交回复
热议问题