Tested only in Linux!
A OpenGL Template with shaders that is configured to run with Visual Studio Code. Also make sure Visual Studio Code is installed!
Steps:
git clone https://github.com/OpenGL-Template-VSCode
cd OpenGL-Template-VSCode/
code .
After opening the project in VS Code. Installed C/C++ extension from VSCode extension tab. Then hit the run button on the top. (Click on the below shown picture in VSCode)
If you want to edit the compiler options, then navigate to .vscode/ and open tasks.json
For more info about how to configure: https://code.visualstudio.com/docs/cpp/config-linux