Difference between revisions of "Visual Studio Code"

From KONNEKTING Wiki
Jump to navigation Jump to search
(Created page with "== Hotkeys == F1 - InputConsole CTRL+ALT+R Verify Arduino Project CTRL+ALT+U Upload Arduino Project CTRL-Shift+O Current outline: Shows list of variables and methods of curre...")
 
Line 9: Line 9:
 
<syntaxhighlight lang=JSON line>
 
<syntaxhighlight lang=JSON line>
 
{
 
{
     "arduino.path": "/home/achristian/arduino-1.8.5",
+
     "arduino.path": "/home/achristian/arduino-1.8.5", // <-- Your Arduino IDE folder
 
     "arduino.logLevel": "verbose",
 
     "arduino.logLevel": "verbose",
 
     "C_Cpp.intelliSenseEngine": "Tag Parser",
 
     "C_Cpp.intelliSenseEngine": "Tag Parser",
     "C_Cpp.clang_format_fallbackStyle": "LLVM",
+
     "C_Cpp.clang_format_fallbackStyle": "LLVM", // <-- For using the correct code formatter when doing auto-format
 
     "arduino.additionalUrls": [
 
     "arduino.additionalUrls": [
 +
        // Arduino 3rd party core download URLs you use
 
         "http://digistump.com/package_digistump_index.json",
 
         "http://digistump.com/package_digistump_index.json",
 
         "http://downloads.arduino.cc/Hourly/samd/package_samd-hourly-build_index.json",
 
         "http://downloads.arduino.cc/Hourly/samd/package_samd-hourly-build_index.json",
Line 19: Line 20:
 
     ],
 
     ],
 
     "C_Cpp.default.browse.path": [
 
     "C_Cpp.default.browse.path": [
         "/media/bigdisk/Programming/Arduino/Sketchbook/libraries",
+
         "/media/bigdisk/Programming/Arduino/Sketchbook/libraries",         // <-- Path to the Arduino Libraries Folder (typically in Sketchbook folder)
         "/home/achristian/arduino-1.8.5/hardware/arduino",
+
         "/home/achristian/arduino-1.8.5/hardware/arduino",                 // <-- Path to base Arduino hardware folder for common Arduino API
         "/home/achristian/.arduino15/packages",
+
         "/home/achristian/.arduino15/packages",                           // <-- Path to the downloaded Arduino Cores like ESP8266, Arduino Zero, ...
         "${workspaceRoot}"
+
         "${workspaceRoot}"                                                 // <-- Variable pointing to your current project workspace root
 
     ]
 
     ]
 
      
 
      
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 17:32, 9 August 2018

Hotkeys

F1 - InputConsole CTRL+ALT+R Verify Arduino Project CTRL+ALT+U Upload Arduino Project CTRL-Shift+O Current outline: Shows list of variables and methods of current opened file

User-Settings

 1{
 2    "arduino.path": "/home/achristian/arduino-1.8.5", // <-- Your Arduino IDE folder
 3    "arduino.logLevel": "verbose",
 4    "C_Cpp.intelliSenseEngine": "Tag Parser",
 5    "C_Cpp.clang_format_fallbackStyle": "LLVM", // <-- For using the correct code formatter when doing auto-format
 6    "arduino.additionalUrls": [
 7         // Arduino 3rd party core download URLs you use
 8        "http://digistump.com/package_digistump_index.json",
 9        "http://downloads.arduino.cc/Hourly/samd/package_samd-hourly-build_index.json",
10        "https://github.com/esp8266/Arduino/releases/download/2.4.0-rc2/package_esp8266com_index.json"
11    ],
12    "C_Cpp.default.browse.path": [
13        "/media/bigdisk/Programming/Arduino/Sketchbook/libraries",         // <-- Path to the Arduino Libraries Folder (typically in Sketchbook folder)
14        "/home/achristian/arduino-1.8.5/hardware/arduino",                 // <-- Path to base Arduino hardware folder for common Arduino API
15        "/home/achristian/.arduino15/packages",                            // <-- Path to the downloaded Arduino Cores like ESP8266, Arduino Zero, ...
16        "${workspaceRoot}"                                                 // <-- Variable pointing to your current project workspace root
17    ]
18    
19}