Skip to content
Martin Ribelotta edited this page Apr 11, 2017 · 5 revisions

Usage of Embedded-IDE

image

Principes of operation

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)

Main Window

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

image

The main menu is composed by multiple buttons and recent project history view: image

New Project

When new project is selected, a template creation dialog is opened:

image

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)