Skip to content
gepd edited this page Sep 25, 2017 · 8 revisions

Quick Panel

The Quick Panel will allow you to search for each option available in Deviot.

There are two options to open the Quick Panel:

  1. From Deviot Menu > Quick Panel
  2. From shortcut ctrl+shift+q (Any O.S)

When the Quick Panel is shown, you can type the option you are looking for.

New Sketch

The main diference with the New File option of Sublime Text is, with Deviot's option you will end with a Arduino or C++ template.

Create a new sketch from Deviot > New Sketch, type the name of your sketch and select the destination folder, your sketch will be stored in destination_folder/sketch_name/file(s)

There are two ways to create a new file:

  1. Enter myfile.ino, you will end with a file like this:
//myfile.ino

void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // put your main code here, to run repeatedly:
}
  1. Enter myfile.cpp, you will end with this file:
//myfile.cpp

#include <avr/io.h>
#include <util/delay.h>

int main(void){
    // put your main code here:
}

If you enter a name whitout extension, Deviot will use the Arduino template by default, but you can change this behavior from Deviot Menu > Options > Use CPP on New File, this way you will end with the c++ template.

Select Board

PlatformIO, the core of Deviot, support more than 400+ boards. Deviot will show you the full list of boards from Deviot Menu > Select Board. You can select multiples boards from this option. You will note a * symbol at the beginning of each board selected.

After select a board, it will be considerated an environment. To work with a specific environment, you need to select it from Deviot Menu > Select Environment. Deviot will automatically choose the last board selected as active environment. You can note the active environment in the status bar*.

Deviot will recognize all your environments already initialized in your platformio.ini, it will be marked with * in the board list. Write * in the Quick Panel window to show only the selected boards. When you select a board with * it will be removed from the environment list and from platformio.ini.

*Note that the information in status bar is only displayed when you have selected a .ino, .pde, .cpp, .c or .S file.

Select Environment

This option will show you all boards previously selected in Deviot Menu > Select Board. If you open a PlatformIO Project with environment already intialized, it will be listed in this option.

You can note the active environment from the status bar*. The active environment is used to compile, upload or clean. At this moment it's a global option. If you select an environment and move to other sketch/project with that environment not initialized, it will initialize it in the new sketch/project.

*Note that the information in status bar is only displayed when you have selected a .ino, .pde, .cpp, .c or .S file.

Clone this wiki locally