---
title: "Working with windows - Workspace - MetaEditor Help"
description: "The main part of MetaEditor workspace is intended for editing source code of programs. All currently opened files are... - Working with windows - Workspace - MetaEditor Help"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/en/metaeditor/help/workspace/source_code_windows"
---

[MetaEditor Help](https://www.metatrader5.com/en/metaeditor/help) → [Workspace](https://www.metatrader5.com/en/metaeditor/help/workspace) → Working with windows

# Working with windows

The main part of MetaEditor workspace is intended for editing source code of programs. All currently opened files are displayed as tabs. To start editing a certain file, click on its tab.

![Tabs](https://www.metatrader5.com/i/help/metaeditor/en/tabs.png)

Location of file windows can be changed by [Window](https://www.metatrader5.com/en/metaeditor/help/main_menu/main_menu_window) menu commands or [Standard](https://www.metatrader5.com/en/metaeditor/help/toolbar/toolbar_standard#cascade) toolbar. To expand or collapse the tab, double-click its name.

The context menu of tabs features the following commands:

- ![Compile](https://www.metatrader5.com/i/help/metaeditor/en/compile_icon.png) Compile – [compile](https://www.metatrader5.com/en/metaeditor/help/development/compile) the current program code.
- ![Compile Open Files](https://www.metatrader5.com/i/help/metaeditor/en/compile_open_files_icon.png) Compile Open Files – compile all files currently opened for editing.
- ![Difference of Versions](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_diff_icon.png) Difference of Versions – [see the current changes](https://www.metatrader5.com/en/metaeditor/help/mql5storage/mql5storage_diff) in a file compared to the latest revision received from the storage.
- ![Revert Changes](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_revert_icon.png) Revert Changes – revert the changes made in a local copy of a file.
- ![Show Storage Log](https://www.metatrader5.com/i/help/metaeditor/en/mql5storage_journal_icon.png) Show Storage Log – view the history of file changes in the [storage log](https://www.metatrader5.com/en/metaeditor/help/mql5storage/mql5storage_working#journal).
- ![Save](https://www.metatrader5.com/i/help/metaeditor/en/save_icon.png) Save – save a change in the current window. The same action can be performed by pressing Ctrl+S.
- ![Close](https://www.metatrader5.com/i/help/metaeditor/en/close_window_button.png) Close – close a selected tab. The same action can be performed by pressing Ctrl+F4 or clicking the middle mouse button on a tab name.
- ![Close All But This](https://www.metatrader5.com/i/help/metaeditor/en/close_all_but_button.png) Close All But This – close all tabs except the current one.
- ![Copy Full Path](https://www.metatrader5.com/i/help/metaeditor/en/copy_icon.png) Copy Full Path – copy the full path to the edited MQL4/MQL5 program file to clipboard.
- ![Open Containing Folder](https://www.metatrader5.com/i/help/metaeditor/en/open_icon.png) Open Containing Folder – open folder containing the current file.
- ![Show in Navigator](https://www.metatrader5.com/i/help/metaeditor/en/show_in_navigator_button.png) Show in Navigator – find the file opened for editing, in the editor folder structure.

The context menu of the code editing window duplicates the [Edit](https://www.metatrader5.com/en/metaeditor/help/main_menu/main_menu_edit) and the [Standard](https://www.metatrader5.com/en/metaeditor/help/toolbar/toolbar_standard) toolbar commands.

## In this section

- [Navigator](https://www.metatrader5.com/en/metaeditor/help/workspace/navigator)
- [Toolbox](https://www.metatrader5.com/en/metaeditor/help/workspace/toolbox)
- [Status Bar](https://www.metatrader5.com/en/metaeditor/help/workspace/status_bar)
- Working with windows
- [Hot keys](https://www.metatrader5.com/en/metaeditor/help/workspace/hotkeys)

```json
{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ {"@type": "ListItem", "position": 1, "item": {"@id": "https://www.metatrader5.com/en/metaeditor/help", "name": "MetaEditor Help"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "https://www.metatrader5.com/en/metaeditor/help/workspace", "name": "Workspace"}}, {"@type": "ListItem", "position": 3, "item": {"@id": "https://www.metatrader5.com/en/metaeditor/help/workspace/source_code_windows", "name": "Working with windows"}} ]}
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "MetaTrader 5: Working with windows", "acceptedAnswer": { "@type": "Answer", "text": "The main part of MetaEditor workspace is intended for editing source code of programs. All currently opened files are displayed as tabs. To start..." } }] }
```
