microsoft / microsoft/vscode-cpptools
Code folding and formatting don't work when C_Cpp.intelliSenseEngine is set to "Disabled"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Issue Type: Bug
The C++ extension doesn't seem to work. The two things I note are:
- Format document doesn't work and the status bar says Extension C++ cannot format
- 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:
- Re-installing cpp extension/ downgrading to last known good version.
- Downgrading vscode to last minor version.
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in VS Code with C_Cpp.intelliSenseEngine set to "Disabled", checking document formatting and brace-aware code folding. Compare behavior using the reported VS Code and C/C++ extension versions; the work is done when both features function correctly in that configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100