This commit is contained in:
Basile Burg 2017-01-26 23:44:12 +01:00
parent f310c5e857
commit eab3168b8f
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
1 changed files with 0 additions and 24 deletions

View File

@ -4,30 +4,6 @@ Welcome to the Coedit Wiki, the documentation source for the small Windows & Lin
![](https://raw.githubusercontent.com/BBasile/CoeditWikiData/master/coedit.win7.33.png) ![](https://raw.githubusercontent.com/BBasile/CoeditWikiData/master/coedit.linux.kde.33.png)
# Menu reference
## File
- **"New empty file"**: adds a new, untyped file to the source editor.
- **"New runnable module"**: adds a new file with a main() procedure. See [runnable modules][lnk_runa].
- **"Open file..."**: open a D source file from a dialog. If the file is already opened then the matching editor gets the focus.
- **"Open recent"**: displays the list of the Most Recently Used (MRU) files.
- **"Close file"**: closes the current editor with an optional warning if its content is modified.
- **"Save file"**: saves the current editor to the disk.
- **"Save all"**: saves all the files currently opened in the source editor.
- **"Save file as..."**: save the current editor using a dialog.
- **"Export html..."**: export the current editor to a html file with html-based highlighting.
- **"Add file to project"**: adds the file matching to the current editor to the project. If the current editor has been created using **"New empty file"** or **"New runnable module"** then the operation fails.
- **"Compile file"**: compile the current file. See [runnable modules][lnk_runa].
- **"Compile file and run"**: compiles the current file and execute. See [runnable modules][lnk_runa].
- **"Compile file and run outside"**: compiles the current file and execute without redirection. See [runnable modules][lnk_runa].
- **"Compile file and run..."**: compiles the current file and execute with a set of options defined in a simple input-query dialog. The arguments must be separated with spaces and can include double quotes.
- **"Run compiled file"**: tries the execute the binary produced by a previous call to _Compile file_.
- **"Run file unittests"**: compiles and runs the current file with the options **-main -unittest**. If the application option _coverModuleTests_ is set then CE will also pass **-cov** to DMD and report in the messages the lines of code that are not covered by the unit tests. This action is not usable if the current module already contains a `main()` function.
- **"Set runnable switches"**: allows to modify the switches passed to DMD when compiling a runnable module. One switch by line, invalid or duplicated switches are removed, such as _-main_ and _-unittest_ since they are set with _Run file unittests_.
- **"Verify with Dscanner"**: verifies the current file with [Dscanner](https://github.com/Hackerpilot/Dscanner). Results are displayed in the [message widget][lnk_widg_msg].
- **"View in mini explorer"**: expands the [mini-explorer][lnk_widg_miniexpl] tree on the folder that contains the current file.
# Docking
Coedit interface is divided into a small dozen of dockable widgets. Except the code editor, each widget