Open Aegel5 opened 3 years ago
Hi @alexzh2 . Thanks for reporting this. To me, the issue appears to be that formatting gets applied to the subsequent line (not the whole block), and should not be. Do you have other reasons for wanting to disable Enter triggering on-type formatting? If not, I can repurpose this issue to track not indenting the subsequent line.
I can repurpose this issue to track not indenting the subsequent line.
Hello @Colengms. Yes, for me 'not indenting the subsequent line' is OK.
It's looks like this issue was introduced due to the fix for: https://github.com/microsoft/vscode-cpptools/issues/7125
Bug type: Language Service
Describe the bug Version: 1.57.1 (user setup) Commit: 507ce72a4466fbb27b715c3722558bb15afa9f48 Date: 2021-06-17T13:28:07.755Z Electron: 12.0.7 Chrome: 89.0.4389.128 Node.js: 14.16.0 V8: 8.9.255.25-electron.0 OS: Windows_NT x64 10.0.19042 C/C++ Extension Version: 1.5.1
Steps to reproduce
a.cpp
using thesettings.json
if (a < 10)
return
was inserted 4 spaces.a.cpp
settings.json