-
Notifications
You must be signed in to change notification settings - Fork 33
usage en
Martin Ribelotta edited this page Apr 11, 2017
·
5 revisions
Embedded-IDE is based on Makefile system and other command line tools common in unix development such as diff, patch, ctags and clang.
The program is basically an editor with tabs and file navigator. Additionally, the IDE provide a target discover for Makefile project and target trigger view.
A major design guidelines are:
- Prefer text configuration instread of GUI configuration
- The project know how to build and provide interface for it
- Command line tools are good thing, use them with profusion
- More inteligence is less usefull. Make functionallity stupid and slim
- Autocomplete is only a choice, cannot replace code typing
- The best project database is the filesystem
- Make know how to do it, let be it
Concretelly the IDE use various tools to provide some services:
- Make and makefile as main project system
- diff and patch as export/import system
- Moustache template system
- ctags indexing
- clang code completion
- Makefile discover of targets and compiler parameters (used in clang completion)
The main windows is composed by:
- Project toolbar: with project related basic actions and main menu
- Project explorer: File viewer with root in Makefile directory
- Target Viewer: List of relevant targets of current Makefile
- Editor Window and Editor tool: Tab viewer with code editor based in QScintilla
- Console log view: Console output of makefile commands
The main menu is composed by multiple buttons and recent project history view:
When new project is selected, a template creation dialog is opened:
In this window, you can select:
- Project name (the name of directory containing Makefile)
- The destination directory (by default, project workspace location)
- Template of project (with the required parameters depend on template configuration)