3.2. Editor
This section covers the detail information about the editor panel of ChainIDE
ChainIDE provides a one-stop solution for their users by creating the facility to provide all the required operations in 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
The highlighted area shown in figure 1 is the editor panel of ChainIDE. Users can easily make changes to the available templates on each blockchain site and can set them according to their own 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 provides the facility to be split into two panels, you can open different files in different editor panels. The files can be directly dragged and drop to both of these panels for view, editing, and other purposes. To split an editor panel into two, simply click the split button as shown in the figure below.
2. Terminal Splitting Button
If you click the splitting button once, the terminal panel would split into two panels, and the file that would be opened in the first terminal panel at splitting time, would be open in the second splitted 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

2. Close, Close Group, Close All

4. Close File Options
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.