Issue Type: Bug
When I have:
If I select it and hit tab, I get:
If instead I had hit shift-tab, I get:
Same happens with Ctrl-] and Ctrl-[ (if those are supposed to make a difference)
I hoped turning off autoIndent would stop this, but no dice. I also turned off C++ formatting in the JSON config:
{
"editor.autoIndent": false,
"editor.detectIndentation": false,
"C_Cpp.formatting": "Disabled"
}
I have done due diligence by asking (and bountying, +100) a question on StackOverflow to get an answer on what to do about this, but no one seems to know:
https://stackoverflow.com/q/53326134/preserve-spacing-on-indent-or-outdent-with-tab-in-vscode
If someone can provide a resolution here, be sure to go there and get the bounty points.
VS Code version: Code 1.29.1 (bc24f98, 2018-11-15T19:13:36.375Z)
OS version: Windows_NT x64 10.0.17134
System Info
| Item |
Value |
| CPUs |
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808) |
| GPU Status |
2d_canvas: enabled 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 |
| Memory (System) |
15.86GB (1.40GB free) |
| Process Argv |
|
| Screen Reader |
no |
| VM |
0% |
Extensions (3)
| Extension |
Author (truncated) |
Version |
| vscode-github |
Kni |
0.30.0 |
| python |
ms- |
2018.10.1 |
| cpptools |
ms- |
0.20.1 |
Issue Type: Bug
When I have:
If I select it and hit tab, I get:
If instead I had hit shift-tab, I get:
Same happens with
Ctrl-]andCtrl-[(if those are supposed to make a difference)I hoped turning off autoIndent would stop this, but no dice. I also turned off C++ formatting in the JSON config:
I have done due diligence by asking (and bountying, +100) a question on StackOverflow to get an answer on what to do about this, but no one seems to know:
https://stackoverflow.com/q/53326134/preserve-spacing-on-indent-or-outdent-with-tab-in-vscode
If someone can provide a resolution here, be sure to go there and get the bounty points.
VS Code version: Code 1.29.1 (bc24f98, 2018-11-15T19:13:36.375Z)
OS version: Windows_NT x64 10.0.17134
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 (3)