User Tools

Site Tools


visual_studio_code

Visual Studio Code is a free open source code editor / IDE that is easy to set-up.

Follow this instructions to set-up Visual Studio Code for Mixxx development.

  1. Check out Mixxx source and build it.
    • If you haven't done this yet, follow the instructions for your operating system here.
  2. Install Microsoft C/C++ extension.
    1. Open the extensions pane and search for “c++”. Click the install button for the Microsoft extension.
  3. Select File → Open… and open the mixxx source folder.
    • Visual Studio Code saves it's configuration in a folder named .vscode in the mixxx source folder. Next time you want to work on mixxx you only need to open the mixxx source folder again.
  4. Configure the c++ extension to enable code completion.
    1. Create a folder named .vscode in the mixxx root folder (if not already created).
    2. Inside this folder, create a file named settings.json (if not already created).
    3. Add the following content to this file:
      {
          "C_Cpp.default.cStandard": "c11",
          "C_Cpp.default.cppStandard": "c++11",
          "C_Cpp.default.compileCommands": "${workspaceFolder}/compile_commands.json"
      }

1)

Translations of this page:
visual_studio_code.txt · Last modified: 2019/06/15 07:57 by ferranpujolcamins