[clang] 3a53806 - Add extension links for VSCode

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 23 05:57:08 PDT 2020


Author: Kumar Harsh
Date: 2020-04-23T14:56:36+02:00
New Revision: 3a5380618e8284efd513228036ca98e550ea0abf

URL: https://github.com/llvm/llvm-project/commit/3a5380618e8284efd513228036ca98e550ea0abf
DIFF: https://github.com/llvm/llvm-project/commit/3a5380618e8284efd513228036ca98e550ea0abf.diff

LOG: Add extension links for VSCode

The clang-format docs were missing mention or links for the VSCode extension, which have been added.

Added: 
    

Modified: 
    clang/docs/ClangFormat.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ClangFormat.rst b/clang/docs/ClangFormat.rst
index 1138b2332670..2b0d6424e0a8 100644
--- a/clang/docs/ClangFormat.rst
+++ b/clang/docs/ClangFormat.rst
@@ -173,7 +173,7 @@ shortcut in the BBEdit preferences, under Menus & Shortcuts.
 
 
 CLion Integration
-==================
+=================
 
 :program:`clang-format` is integrated into `CLion <https://www.jetbrains
 .com/clion/>`_ as an alternative code formatter. It is disabled by default and
@@ -192,6 +192,12 @@ Download the latest Visual Studio extension from the `alpha build site
 <https://llvm.org/builds/>`_. The default key-binding is Ctrl-R,Ctrl-F.
 
 
+Visual Studio Code Integration
+==============================
+
+Get the latest Visual Studio Code extension from the `Visual Studio Marketplace <https://marketplace.visualstudio.com/items?itemName=xaver.clang-format>_`. The default key-binding is Alt-Shift-F.
+
+
 Script for patch reformatting
 =============================
 


        


More information about the cfe-commits mailing list