Skip to content

Visual Studio Code

mikisama edited this page Aug 16, 2022 · 5 revisions

Visual Studio Code

  1. Install VSCode.
  2. Start VSCode and install C/C++ extension.
  3. Open project directory (File->Open Folder ...).
  4. Edit .vscode/task.json.
    "options": {
        "env": {
            /* make sure your toolchain path is correct */
            "path": "D:/v850-elf-gcc-win32-x64/bin;C:/Program Files (x86)/Renesas Electronics/Programming Tools/Renesas Flash Programmer V3.08;${env:path}"
        }
    }
  5. Run VSCode task (Terminal->Run Task->CMake Generate->GCC->Debug).

build intelligent

Your workspace is ready!

Terminal->Run Task-> and the Build, Clean, Erase and Download development commands are available.

Ctrl+Shift+B is the shortcut for building.

Limit

Currently, VSCode has better intelligent hints support for GCC.

Using other toolchains may require manually editing the c_cpp_properties.json for better intelligent hints support.

Clone this wiki locally