Skip to content
gepd edited this page Sep 23, 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.

Clone this wiki locally