Getting Started: Visual Studio Code - ANLAB-KAIST/KENSv3 GitHub Wiki
Prerequisites
Install CLI prerequisites
- for Windows
- for Windows + WSL
- for macOS
- for Linux
Install Visual Studio Code
Install Visual Studio Code plugins
Build and run
[!NOTE]
- To change random seed, please follow CLI instruction: Getting Started: CLI (macOS) or Getting Started: CLI (Linux)
- Download and extract latest version.
- Launch Visual Studio Code and open the extracted directory. For Widnows + WSL, please follow this instructions.
- Go to CMake menu
- Configure CMake project
Note
You may have to select a kit for CMake. Try [Unspecified] first, and specify a compiler if there is an error.
5. Select and right click target to build
6. Build or run selected target
Troubleshooting
CMake Tools Error
Try "Reset CMake Tools extension state" section in VSCode CMake Tools Troubleshoot.
Intellisense C++17 Configuration
Set cppStandard
to c++17
in c_cpp_properties.json
file. See Visual Studio Code C/C++ configurations.