openFrameworks empty example for Microsoft Visual Studio Code IDE(vscode). This is not addon. (folder structure is same with addoon)
- download and install vscode.
- download or clone this repositry to your /oF/apps folder
- open project file with vscode(vscode_oF.code-workspace).
- Command Palette (View->Command Palette) and select "Run Build Task".
- Select "Build Debug", "Clean ALL", "Build Release", "Clean Debug", "Clean All"
- Hit F5 key to start debugging. (Release app will start automaticaly after build)
- Copy and paste /exampleEmpty folder and start your own project.
- Edit addons.make file if you want to add addons
- You might need to edit setting files inside of ./vscode
It provides quick auto complete feature. Since vscode does not provide built-in debugger, debugging feature is depends on platform.
Curretly tested on OSX, Ubuntu(by @anselanza) and Windows 10.
/of
/apps
/vscode_oF
/exampleEmpty
0.10.0, latest master
- "make clean" does not work (bug of openFrameworks Make system)
- MacOSX.sdk path is hard coded
- "#include error detected" for header files which is not actualy included for example GL/gl.h is for Linux wihch is not included on osx. This shold be fixed with limitSymbolsToIncludedHeaders property in c_cpp_properties.json But still vs code claims it is missing.
- Depends on your Linux distro, you might need additinal edit on config files. Please see dev branch which include commits from another oF+Linux developper. I don't test dev branch but it might help.