Intel® oneAPI toolkits integrate with third-party IDEs to provide a seamless GUI experience for software development.
You need to install the Sample Browser extension to run samples. The next section describes how to do it. If you have already installed it, skip to Create a Project Using Visual Studio Code.
Watch a video on using oneAPI Visual Studio Code Extensions to set up your environment, try samples, and connect to the Intel® Developer Cloud.
You can use VS Code extensions to set your environment, create launch configurations, and browse and download samples:
From Visual Studio Code, click on the Extensions logo in the left navigation tab.
For more information about VS Code extensions for Intel oneAPI Toolkits, see Using Visual Studio Code* to Develop Intel® oneAPI Applications.
Select the build tasks (target) from your Make/CMake oneAPI project that you want to use.
Run the task/target by selecting Terminal -> Run task... .
Select the task to run.
The oneAPI extensions help you prepare launch configurations for running and debugging projects created with Intel oneAPI toolkits:
Optional: select any task you want to run before and/or after launching the debugger (for example, build the project before debug, clean the project after debug).
There are more oneAPI extensions for Visual Studio Code which enable:
To learn more about the extensions and different configuration options, see Intel® oneAPI Extensions for Visual Studio Code* and Using Visual Studio Code with Intel® oneAPI Toolkits.