This is an archive of the discontinued LLVM Phabricator instance.

[clang-format-vs] Format the whole document if nothing is selected
AbandonedPublic

Authored by berenm on Aug 27 2015, 6:21 AM.

Details

Reviewers
djasper
Summary

By default, clang-format VS plugin only reformats the selected code.

To reformat the whole document, the user has to select everything before calling the reformat shortcut.

Diff Detail

Event Timeline

berenm updated this revision to Diff 33317.Aug 27 2015, 6:21 AM
berenm retitled this revision from to [clang-format-vs] Format the whole document if nothing is selected.
berenm updated this object.
berenm added a reviewer: djasper.
berenm added a subscriber: cfe-commits.
djasper edited edge metadata.Aug 27 2015, 6:34 AM
djasper added a subscriber: djasper.

If nothing is selected, clang-format should format the current line.. At
least that's the intended behavior. Doesn't it do that?

berenm abandoned this revision.Sep 14 2015, 9:02 AM