Skip to content

Basic VS Code setup

Thomas Hahn edited this page Dec 12, 2024 · 6 revisions

In the following, we want to make sure that we all start from a similar VS Code setup.

Disable installed extensions

It is recommended to temporarily disable all of your existing VS Code extensions (don't worry, you can enable them again at any time).

In doing so, you might avoid any possible conflicts (e.g. clangd vs. Microsoft's C++ extension) and it is easier to see what each extension that we add brings to the table.

  • Open the command palette (Cmd+Shift+P)
  • Run the command >Extensions: Disable All Installed Extensions

After disabling the extensions, your sidebar should look something like this:

disabled_extensions

VS Code user settings

If you go to your user settings in VS Code (>Preferences: Open User Settings (JSON)), you should see something like

greyed_out_settings

The greyed out sections belong to the disabled extensions.

The non-greyed out settings are your basic VS Code settings. They determine how the editor looks and behaves, what files/folders to include in searches, and so on.

For the rest of this tutorial, those basic settings should not matter. You can keep yours as they are or change them along the way. As a reference, you can look at the file user_settings.json.