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
Indentation after both o (editor.action.insertLineAfter) and cc (editor.action.reindentselectedlines) is determined by the language support, but they're specified differently, so some language plugins support the former better than the latter. Maybe some supports the latter better than the former, but none that I've found.
I write C++ and python for my job and o works great while cc doesn't in both of these. Typescript and rust, however, both work as expected.
The issue can be reproduced with the Vim plugin by putting the cursor in an empty line like this:
{
█
}
Then pressing cc in normal mode. It should auto-indent, but it does nothing currently. o works perfectly, on the other hand.
The text was updated successfully, but these errors were encountered:
VSCodeVim/Vim#1017 (comment)
The issue can be reproduced with the Vim plugin by putting the cursor in an empty line like this:
Then pressing
cc
in normal mode. It should auto-indent, but it does nothing currently.o
works perfectly, on the other hand.The text was updated successfully, but these errors were encountered: