# VSCode何时打开新Tab

{% embed url="<https://v.douyin.com/r6p84tx/>" %}

{% embed url="<https://www.bilibili.com/video/BV1zi4y1k7sw/>" %}

何时新开Tab

大家能看出来现在这个字体是斜体吗

他意味着什么呢

意味着在这种状态下

如果我们在资源管理期这边

打开其他文件

大家看

他就会在同一个窗口里边打开

但是呢

如果我们在这里边稍微编辑一下

大家看我加空格

这块就会变成正常的字体

然后我再打开其他文件

他就会打开新窗口了

那其实哈这是一个非常好的设计

因为有时候我们就是在找一些代码

来回点文件

他就避免了打开太多的tab页

但是哈有时候我们不希望这样

那我们就可以打开这个文件的同时

双击大家看啊

比如打开这个

哎他就不是斜体了

他就是一个正常的字体

我们再打开其他文件

他就会保留原来这个窗口了

那还有一种方法呢

就是我们现在是斜体哈

我双击这个 tab 页的标题大家看

哎他也变成正常字体了

我们再打开一个

这个也保留了

大家看

再见


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sunzsh.gitbook.io/xiaoshan.bug/vscode-he-shi-da-kai-xin-tab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
