[PATCH] D29221: clang-format-vsix: "format on save" feature

Antonio Maiorano via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 26 12:32:44 PST 2017


amaiorano updated this revision to Diff 89815.
amaiorano added a comment.

Made changes based on @hans 's feedback.

I looked again at the categories, and I think it makes sense with my changes. Here's an updated screenshot that shows what the options menu in Visual Studio looks like with these changes with the top-level category name ("LLVM/Clang") and page name ("Clang Format") highlighted, as well as the category names for the page items ("Format Options" and "Format On Save") highlighted:

F3117958: pasted_file <https://reviews.llvm.org/F3117958>

It would be nice if "Format On Save" was _below_ "Format Options", but Visual Studio always orders the page categories in alphabetical order, so this is pretty standard.


https://reviews.llvm.org/D29221

Files:
  tools/clang-format-vs/ClangFormat/ClangFormat.csproj
  tools/clang-format-vs/ClangFormat/ClangFormatPackage.cs
  tools/clang-format-vs/ClangFormat/RunningDocTableEventsDispatcher.cs
  tools/clang-format-vs/ClangFormat/Vsix.cs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29221.89815.patch
Type: text/x-patch
Size: 21763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170226/d2cbe064/attachment-0001.bin>


More information about the cfe-commits mailing list