Giter VIP home page Giter VIP logo

vscode_of's Introduction

NOTICE

Hello, thanks for visiting this repo. Few yeaers ago, I sent a PR which generates vscode project from oF's Project Generator. It was quickly merged and you can use vscode with oF without this repo. So I no longer update this repo.

Please check oF main repo and also this thread in the forum. https://forum.openframeworks.cc/t/vscode-visual-studio-code-of/28504

I will soon archive this repo to avoid confusion. But let me know if it is still useful for some reason.

Screenshot

Build Status Build status

vscode_oF

openFrameworks empty example for Microsoft Visual Studio Code IDE(vscode). This is not addon. (folder structure is same with addoon)

How to compile example project

  1. download and install vscode.
  2. download or clone this repositry to your /oF/apps folder
  3. open project file with vscode(vscode_oF.code-workspace).
  4. Command Palette (View->Command Palette) and select "Run Build Task".
  5. Select "Build Debug", "Clean ALL", "Build Release", "Clean Debug", "Clean All"
  6. Hit F5 key to start debugging. (Release app will start automaticaly after build)

How to start your own project

  1. Copy and paste /exampleEmpty folder and start your own project.
  2. Edit addons.make file if you want to add addons
  3. 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.

Folder Structure

/of
  /apps
    /vscode_oF
      /exampleEmpty

oF version

0.10.0, latest master

Known issue

  • "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.

Linux user

  • 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.