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
I've noticed that VS Code supports automatically indenting code when pasting code or when moving lines around (Ctrl+Shift+↑/↓) via the editor.autoIndent setting, but for some reason this doesn't work with C++ files.
I've noticed that this is disabled by default for C and C++ files, but even enabling the setting doesn't seem to do anything. What would be involved in enabling this behaviour?
The text was updated successfully, but these errors were encountered:
I seem to recall it was disabled due to the annoying/buggy behavior it caused with C++ but there isn't an easy fix using the regular expression mechanism that works in other languages. I think we're tracking this with #883 .
I've noticed that VS Code supports automatically indenting code when pasting code or when moving lines around (Ctrl+Shift+↑/↓) via the
editor.autoIndent
setting, but for some reason this doesn't work with C++ files.I've noticed that this is disabled by default for C and C++ files, but even enabling the setting doesn't seem to do anything. What would be involved in enabling this behaviour?
The text was updated successfully, but these errors were encountered: