-
Notifications
You must be signed in to change notification settings - Fork 55
Deviot Menu
The Quick Panel will allow you to search for each option available in Deviot.
There are two options to open the Quick Panel:
- From
Deviot Menu > Quick Panel - From shortcut
ctrl+shift+q(Any O.S)
When the Quick Panel is shown, you can type the option you are looking for.
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:
- 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:
}- 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.