Skip to content

Commit

Permalink
pw_ide: Replace vscode-gnformat recommendation with gnls
Browse files Browse the repository at this point in the history
Replace the vscode-gnformat VS Code extension recommendation
with the GN Language Server exension provided by Microsoft.
GN Language Server includes code formatting support in addition
to many intellisense features, and it is actively maintained.

Change-Id: I117c2135d1e452e239072e5960df86cbc4c2026d
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/111750
Reviewed-by: Chad Norvell <chadnorvell@google.com>
Commit-Queue: Ben Lawson <benlawson@google.com>
  • Loading branch information
BenjaminLawson authored and CQ Bot Account committed Sep 23, 2022
1 parent 797535c commit 81a43ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"llvm-vs-code-extensions.vscode-clangd",
"ms-python.python",
"npclaudiu.vscode-gn",
"persidskiy.vscode-gnformat",
"msedge-dev.gnls",
"zxh404.vscode-proto3",
"josetr.cmake-language-support-vscode"
],
"unwantedRecommendations": [
"ms-vscode.cpptools"
"ms-vscode.cpptools",
"persidskiy.vscode-gnformat",
]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

// Build systems settings
"[gn]": {
"editor.defaultFormatter": "persidskiy.vscode-gnformat"
"editor.defaultFormatter": "msedge-dev.gnls"
},

// C/C++ settings
Expand Down

0 comments on commit 81a43ff

Please sign in to comment.