Visual Studio Code: Difference between revisions

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

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