Can't find C extension on vscode's marketplace

Hi, i’m a n00b/baby user on linux, i started my journey with KDE Plasma and i had a problem trying to install the C compiler on vscode. I did installed on the Konsole using the pacman command, and when a search in the marketplace i can’t find the C/C++ compiler.

Here is the informations of my system:

  Kernel: 5.10.32-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=63add303-70ee-42f9-a4b8-8bb403782b2d rw quiet apparmor=1 
  security=apparmor resume=UUID=91e6ff8a-5d9d-4ca9-8f17-0caa72452f60 
  udev.log_priority=3 
  Desktop: KDE Plasma 5.21.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 2 
  dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: PCWARE model: IPMH110G v: x.x serial: <filter> 
  UEFI-[Legacy]: American Megatrends v: F20 DB date: 12/22/2016 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 7.73 GiB used: 2.64 GiB (34.2%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Dual Core model: Intel Core i3-7100 bits: 64 type: MT MCP 
  arch: Kaby Lake family: 6 model-id: 9E (158) stepping: 9 microcode: DE 
  cache: L2: 3 MiB bogomips: 31199 
  Speed: 1000 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 1000 2: 1000 
  3: 1000 4: 1000 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art 
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid 
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est f16c 
  flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window hwp_epp 
  hwp_notify ibpb ibrs intel_pt invpcid invpcid_single lahf_lm lm mca mce 
  md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid 
  pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand 
  rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 
  ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme 
  vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 3GB] vendor: Micro-Star MSI 
  driver: nvidia v: 460.73.01 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 
  chip-ID: 10de:1c02 class-ID: 0300 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: nvidia display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1600x900 s-dpi: 90 s-size: 452x251mm (17.8x9.9") 
  s-diag: 517mm (20.4") 
  Monitor-1: DVI-D-0 res: 1600x900 hz: 60 dpi: 92 size: 443x249mm (17.4x9.8") 
  diag: 508mm (20") 
  OpenGL: renderer: GeForce GTX 1060 3GB/PCIe/SSE2 v: 4.6.0 NVIDIA 460.73.01 
  direct render: Yes 
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Realtek 
  driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170 
  class-ID: 0403 
  Device-2: NVIDIA GP106 High Definition Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:10f1 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.32-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.26 running: no 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: d000 bus-ID: 02:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Message: No bluetooth data found. 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 931.51 GiB used: 11.77 GiB (1.3%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWD110 size: 931.51 GiB 
  block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: A8J0 scheme: MBR 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 117.19 GiB size: 114.79 GiB (97.95%) 
  used: 11.77 GiB (10.3%) fs: ext4 dev: /dev/sda3 maj-min: 8:3 label: N/A 
  uuid: 63add303-70ee-42f9-a4b8-8bb403782b2d 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 2.81 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda4 maj-min: 8:4 label: N/A 
  uuid: 91e6ff8a-5d9d-4ca9-8f17-0caa72452f60 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 500 MiB fs: ntfs 
  label: Reservado pelo Sistema uuid: D458E30F58E2EF64 
  ID-2: /dev/sda2 maj-min: 8:2 size: 811.02 GiB fs: ntfs label: N/A 
  uuid: A28630BB863091B1 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-3:2 info: SINO WEALTH USB KEYBOARD type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s 
  power: 100mA chip-ID: 258a:1006 class-ID: 0300 
  Device-2: 1-4:3 info: Cooler Master MasterMouse S type: Mouse,HID 
  driver: hid-generic,usbhid interfaces: 3 rev: 1.1 speed: 12 Mb/s 
  power: 100mA chip-ID: 2516:004b class-ID: 0300 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 46 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 38% 
Info:
  Processes: 183 Uptime: 1h 12m wakeups: 0 Init: systemd v: 247 
  tool: systemctl Compilers: gcc: 10.2.0 Packages: pacman: 1202 lib: 324 
  flatpak: 0 Shell: Bash v: 5.1.0 running-in: konsole inxi: 3.3.04

Can someone help me?
PS: I’m sorry with i sad anything wrong. I’m not a native english speaker.

Correct me if I’m wrong but I’m assuming you ran:

sudo pacman -S code

Which is the Open Source version of VS Code. This build does not use the VS Code Marketplace but Open VSX registry instead. Because of this some extensions are missing. To fix this you can install:

 visual-studio-code-bin

or download the .vsix from the web marketplace and install it manually.

3 Likes

Thank you <3.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.