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
If you run clang-format and give either just -cursor, or a empty range at the current cursor, clang-format only formats the current statement, which is quite nice for interactive editing, in particular in a large document where you might not want to modify the rest of the doc (e.g. might not be properly formatted and you want to avoid the edits).
Does VS Code's API support such a use case? Would it make sense to add a keybinding for this?
The text was updated successfully, but these errors were encountered:
If you run
clang-format
and give either just-cursor
, or a empty range at the current cursor,clang-format
only formats the current statement, which is quite nice for interactive editing, in particular in a large document where you might not want to modify the rest of the doc (e.g. might not be properly formatted and you want to avoid the edits).Does VS Code's API support such a use case? Would it make sense to add a keybinding for this?
The text was updated successfully, but these errors were encountered: