[clang-format-vs] Add Format on Save function. Add Format Document function.

P├ęter Budai via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 23 03:56:18 PST 2016


This patch adds Format on Save  and Format Document functions to clang-format-vs Visual Studio extension.

The automatic format option can be turned on and off completely or for specific file extensions via the Options dialog.
Patch is attached, tested on Visual Studio 2013 and 2015.

Peter Budai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160223/5dfc9013/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0000-clang-format-vs-formatonsave.patch
Type: application/octet-stream
Size: 12985 bytes
Desc: 0000-clang-format-vs-formatonsave.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160223/5dfc9013/attachment.obj>

More information about the cfe-commits mailing list