mirror of https://gitlab.com/basile.b/dexed.git
doc
This commit is contained in:
parent
6560efd017
commit
b43e76c30f
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
|
@ -21,6 +21,7 @@ title: index
|
|||
|
||||
#### Widgets
|
||||
|
||||
* [DFMT commander](widgets_dfmt_commander)
|
||||
* [DUB project editor](widgets_dub_project_editor)
|
||||
* [CE project editor](widgets_ce_project_editor)
|
||||
* [Custom tools](widgets_custom_tools)
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
title: Widgets - DFMT commander
|
||||
---
|
||||
|
||||
### DFMT commander
|
||||
|
||||
The _Dfmt commander_ widget is a simple but complete interface for the D source code formater [Dfmt](https://github.com/Hackerpilot/dfmt).
|
||||
The background tool has to be build and installed in one of the _PATH_ known by the operating system.
|
||||
|
||||

|
||||
|
||||
A property inspector allows to tweak the format.
|
||||
See the [official documentation](https://github.com/Hackerpilot/dfmt#configuration) to learn more about the options.
|
||||
|
||||
- : apply the formatting. The editor state is backed up before each formatting.
|
||||
- : restore the previous backup.
|
||||
|
||||
The formatting is applied in memory and can be undone either from the widget or from the code editor.
|
||||
The changes are not physically applied until the file is explicitly saved.
|
|
@ -1,3 +1,21 @@
|
|||
---
|
||||
title: Widgets - project inspector
|
||||
---
|
||||
|
||||
### Project inspector
|
||||
|
||||
The project inspector is used to
|
||||
|
||||
- select the project configuration.
|
||||
- open sources in an new editor.
|
||||
- add or remove source if the active project has the [CE format](features_projects).
|
||||
|
||||

|
||||
|
||||
The toolbar buttons are only activated for CE projects.
|
||||
|
||||
- : Adds a D source to the project from a dialog. The new source is not directly opened in the editor. To add a file that is already edited, rather use **"Add file to project"** from the **File** menu.
|
||||
- : Removes the selected source (selected in the widget tree, not in the editor) from the project.
|
||||
- : Adds a folder of D source to the project from a dialog. The procedure is recursive.
|
||||
|
||||
Note that instead of using the dialogs to add files, it's also possible to drop items from a file explorer.
|
|
@ -383,18 +383,6 @@ All of them can be easily build in Coedit and setup in the [_libman_](lnk_widg_l
|
|||
|
||||
The library entries are saved in the user folder [(see options)][lnk_widg_opts] as _libraryManager.txt_.
|
||||
|
||||
## Project inspector widget
|
||||
|
||||
The project inspector widget is mostly designed to manipulate the project source files. It can also be used to select a compiler configuration.
|
||||
|
||||

|
||||
|
||||
- : adds a D source to the project from a dialog. The new source is not directly opened in the editor. To add a file that is already edited, rather use **"Add file to project"** from the **File** menu.
|
||||
- : removes the selected source (_selected_ in the widget tree, not in the editor) from the project.
|
||||
- : adds a folder of D source to the project from a dialog. The procedure is recursive.
|
||||
|
||||
Note that instead of using the dialogs to add files, it's also possible to drop items from a file explorer.
|
||||
|
||||
## Project configuration widget
|
||||
|
||||
The project configuration widget is a powerful editor for the compiler options. By design it uses an "_Object Inspector_" GUI element.
|
||||
|
@ -588,20 +576,6 @@ New properties can be added or removed:
|
|||
|
||||

|
||||
|
||||
## Dfmt Commander
|
||||
|
||||
The _Dfmt commander_ widget is a simple but complete interface for the D source code formater [Dfmt](https://github.com/Hackerpilot/dfmt). The background tool has to be build and installed in one of the _PATH_ known by the operating system.
|
||||
|
||||

|
||||
|
||||
A property inspector allows to tweak the format. See the [official documentation](https://github.com/Hackerpilot/dfmt#configuration) to learn more about the options.
|
||||
|
||||
- : apply the formatting. The editor state is backed up before each formatting.
|
||||
- : restore the previous backup.
|
||||
|
||||
The formatting is applied in memory and is undo-able either from the widget or from the code editor. The changes are not physically applied until the file is explicitly saved.
|
||||
Formatting options are saved between each session in the [Coedit data folder][lnk_widg_opts].
|
||||
|
||||
## Todo list
|
||||
|
||||
The _todo list_ widget displays the _todo comments_ located in the source files.
|
||||
|
|
Loading…
Reference in New Issue