Skip to content

Code folding and formatting don't work when C_Cpp.intelliSenseEngine is set to "Disabled" #7083

Open
@devavret

Description

@devavret

Issue Type: Bug

The C++ extension doesn't seem to work. The two things I note are:

  1. Format document doesn't work and the status bar says Extension C++ cannot format
  2. Code folding used to be smart and didn't just fold all indented areas but matched braces. This is not working now.

Things I've tried:

  1. Re-installing cpp extension/ downgrading to last known good version.
  2. Downgrading vscode to last minor version.
  3. Setting "C_Cpp.loggingLevel": "Debug". Despite this, the output tab does not show anything for C++ extension.

Earlier today I got a notification that the extension server crashed but after restarting, it seemed to work fine. All other extensions are working as intended. Only C++ extension stopped working after that.

Extension version: 1.2.2
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:45:54.515Z)
OS version: Darwin x64 19.6.0
Fetching remote diagnostics for 'ssh-remote+7b22686f73744e616d65223a2264657661767265742d5839392d45227d' timed out.
Remote OS version: Linux x64 4.15.0-136-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.53GB free)
Process Argv --crash-reporter-id 2d795352-d240-4b70-bd95-01a9f68ffe06
Screen Reader no
VM 0%

Fetching remote diagnostics for 'ssh-remote+7b22686f73744e616d65223a2264657661767265742d5839392d45227d' timed out.

Item Value
Remote SSH: devavret-X99-E
OS Linux x64 4.15.0-136-generic
CPUs Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz (12 x 1862)
Memory (System) 31.33GB (26.78GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspyt653:30253241
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstry914:30256638
pythonvsdeb440:30248342
pythonvsded773:30248341
vstes627:30244334
pythonvspyt875:30259475
pythontbcf:30260844

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions