> For the complete documentation index, see [llms.txt](https://chainide.gitbook.io/chainide-english-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chainide.gitbook.io/chainide-english-1/chainide-modules/editor.md).

# 2.2. Editor

ChainIDE provides a one-stop solution for their users by creating the facility to provide all the required operations in the form of a single IDE that supports multiple file types, With support for multiple languages such as JavaScript, HTML, CSS, Solidity, etc. and much more. ChainIDE helps you be instantly productive with syntax highlighting, bracket-matching, auto-indentation, snippets, and more.

![1. Editor Panel of ChainIDE ](/files/-MZMSHMdEVQgImkZ0Ge1)

The highlighted area shown in figure 1 is the editor panel of ChainIDE. Users can easily make changes to the templates available on each blockchain site and set them according to their requirements. Or can create a new project and different files into a project and can use the editor panel for writing the code. It supports Intellisense, syntax highlighting, and much more.

### 1. Splitting Editor Panel

The Splitting panel allows split into two panels; you can open different files in different editor panels. The files can be directly dragged and dropped to both of these panels for viewing, editing, and other purposes. To split an editor panel into two, click the split button, as shown in the figure below.

![2. Terminal Splitting Button](/files/-MZXEIeGC4UTeHNgT-sg)

If you click the splitting button once, the terminal panel will split into two panels, and the file that will be opened in the first terminal panel at the split time will be open in the second split panel; you can drag and drop any file from the explorer panel to any of the editor panel.

![3. Terminal Panel after Splitting into two](/files/-MZXGMhFeDOdzQQRMUKt)

### 2. Close, Close Group, Close All

![4. Close File Options](/files/-MZXJ1OjO1x1uYUWrRH8)

As described in figure 4, if you select a file and right-click, you will get three options: close, close group, and close all. Here is what all these three options do:

* Close: Closes one single file.
* Close Group: ChainIDE has two groups that use the close group option, one is the editor panel, and the other one is the preview panel. The close group option is used to close these panels separately. For example, if you have opened a file in the editor panel and you click on the close group, all the files in the editor panel will be closed, but it will not affect any files opened in the preview panel. The same is the case on the editor panel side, if you choose the close group in the preview panel, all the files in the preview panel will be closed, and it would not have any effect on the editor side.
* Close All: Closes all will close all the files opened in the editor panel and preview panel.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://chainide.gitbook.io/chainide-english-1/chainide-modules/editor.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
