# 2.2. Editor模块

如果单击“拆分”按钮一次，终端面板将拆分为两个面板，拆分时将在第一个终端面板中打开的文件将在第二个拆分的面板中打开，您可以将任何文件从资源管理器面板拖放到任何编辑器面板。ChainIDE为用户提供了一个一站式解决方案，通过创建一个工具，以支持多种文件类型的单个IDE的形式提供所有必需的操作，并支持多种语言，如JavaScript、HTML、CSS、Solidity等。ChainIDE可以帮助您在语法高亮显示、括号匹配、自动缩进、代码段等方面立即提高工作效率。

![1. ChainIDE 编辑模块](https://2772835953-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZ6_j0WUFnBhwIdP3LR%2F-M_OyybS8t3QK_pNQa4_%2F-M_PCb11k4UflyrmdgOU%2Fimage.png?alt=media\&token=7f45a951-c85d-40e8-8fcd-e86de8d35e95)

图1中所示的突出显示区域是ChainIDE的编辑器面板。用户可以轻松地对每个区块链站点上可用模板进行更改，并可以根据自己的需求进行设置。或者可以将新项目和不同的文件创建到项目中，并可以使用编辑器面板编写代码。它支持Intellisense、语法高亮显示等功能。

### 1. 分屏显示模块

“拆分”面板提供了将拆分为两个面板的功能，可以在不同的编辑器面板中打开不同的文件。可以直接将文件拖放到这两个面板中，以查看、编辑和其他目的。要将编辑器面板拆分为两个，只需单击拆分按钮，如下图所示

![2. 分屏按钮](https://2772835953-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZ6_j0WUFnBhwIdP3LR%2F-M_OyybS8t3QK_pNQa4_%2F-M_PDlwJ6VhqcvX5vHgl%2Fimage.png?alt=media\&token=8b0a783e-4ed8-4cca-8ab7-6dcff3cba111)

如果单击“拆分”按钮一次，终端面板将被拆分为两个面板，拆分时在第一个终端面板中打开的文件将在第二个拆分的面板中打开，此时，您可以将任何文件从资源管理器面板拖放到任何编辑器面板。

![3. Editor分两个模块](https://2772835953-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZ6_j0WUFnBhwIdP3LR%2F-M_OyybS8t3QK_pNQa4_%2F-M_PFGMzIpodpJcw2OdY%2Fimage.png?alt=media\&token=d71e6b55-ec18-4eeb-b0f8-40637eb6979d)

### 2. 关闭，关闭组， 关闭所有

![4. 关闭文件选项](https://2772835953-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZ6_j0WUFnBhwIdP3LR%2F-M_OyybS8t3QK_pNQa4_%2F-M_PGv9ReYM-0ofG0BCc%2Fimage.png?alt=media\&token=c0d55cc9-3a59-48cb-aaeb-cbbb763bd7b9)

如图3所示，如果您只想关闭一个文件，请选择该文件，然后右键单击，您将获得三个选项：close、close Group和close All。

close：用于关闭当前选中的文件。&#x20;

close Group:用于关闭当前分屏内的所有文件。

&#x20;close All:用于关闭所有分屏内的所有文件。


---

# 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://chainide.gitbook.io/chainide-chinese/4.-chainide-quan-ti-bu-ju/4.2.-editor-mo-kuai.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.
