When I click the arrow button: I get these options: I'm looking to get the C/C++: gcc build and debug active file option. This is a freshly installed manjaro and vscode. Vscode was installed via snap, and the classic version was installed.

This is the output from gcc --version:

gcc (GCC) 12.2.1 20230201 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And here it is in vscodes terminal:

Oh and I do have the C/C++ extension pack:

The output from snap info --verbose code:

summary: Code editing. Redefined.
  status:  unknown
  message: health has not been set
publisher: Visual Studio Code (vscode✓)
store-url: https://snapcraft.io/code
contact:   https://twitter.com/code
    - https://twitter.com/code
    - https://code.visualstudio.com/
license: unset
description: |
  Visual Studio Code is a new choice of tool that combines the
  simplicity of a code editor with what developers need for the core
  edit-build-debug cycle.
  - code
  - code.url-handler
  private:           false
  confinement:       classic
  devmode:           false
  jailmode:          false
  trymode:           false
  enabled:           true
  broken:            false
  ignore-validation: false
snap-id:      Ht0aUHi7ofh9Fbwh6m7jUN2pAy6kzBiu
tracking:     latest/stable
refresh-date: today at 10:49 CET
  latest/stable:    5e805b79 2023-03-09 (121) 250MB classic
  latest/candidate: ↑                               
  latest/beta:      ↑                               
  latest/edge:      ↑                               
installed:          5e805b79            (121) 250MB classic

My c_cpp_properties.json file:

    "configurations": [
            "name": "Linux",
            "includePath": [
            "defines": [],
            "compilerPath": "/usr/bin/gcc",
            "cStandard": "c99",
            "cppStandard": "c++14",
            "intelliSenseMode": "linux-gcc-x86",
            "compilerArgs": [
    "version": 4
  • can that snap see the programs installed on your machine, or is it strictly isolating? Commented Mar 11, 2023 at 9:32
  • @MarcusMüller I'm not sure how to test that
    – Manfred
    Commented Mar 11, 2023 at 9:40
  • I added the output from snap info code to the questions since its too long to put in a comment. The command says it's not isolated.
    – Manfred
    Commented Mar 11, 2023 at 9:44
  • cool! sorry, I was absent. I would have asked whether you where able to run gcc --version from within the console in VSCode or just outside. Commented Mar 11, 2023 at 9:55
  • Hmm, I got the same output as in the non-integrated terminal, I added an image to the question
    – Manfred
    Commented Mar 11, 2023 at 9:57


You must log in to answer this question.

Browse other questions tagged .