You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
indigox4
changed the title
Code folding doesn't work with in blocks with preprocessor macros (C++)
Code folding doesn't work with blocks with preprocessor macros (C++)
Jan 11, 2019
You are requesting c++ aware folding which needs to come from a language extensions like Microsoft/vscode-cpptools.
The extension is aware of the request: See microsoft/vscode-cpptools#407
Issue Type: Bug
Repro steps:
cut and paste the following code snippet into a .cpp file:
Move the mouse to the gutter of the if(1) statement and click on the [-] icon to fold it.
Actual result:
The code folding stops at the #ifdef FOO line.
Expected result:
The code folding should collapse everything inside the if(1) block.
VS Code version: Code 1.30.2 (61122f8, 2019-01-07T22:54:13.295Z)
OS version: Windows_NT x64 10.0.14393
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Extensions (5)
The text was updated successfully, but these errors were encountered: