Skip to content

Commit 2147a55

Browse files
ishammahajanrk-for-zulip
authored andcommitted
editor: Add config for recommended extensions.
This commit adds a configuration file for recommending extensions required for a smooth developer experience. It uses the default [feature](https://code.visualstudio.com/docs/editor/extension-gallery#_workspace-recommended-extensions) in vscode to do so. The doc `editor.md` has been updated to reflect this change.
1 parent 167b4b1 commit 2147a55

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

.vscode/extensions.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3+
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4+
5+
// List of extensions which should be recommended for users of this workspace.
6+
"recommendations": [
7+
"msjsdiag.vscode-react-native",
8+
"flowtype.flow-for-vscode",
9+
"dbaeumer.vscode-eslint",
10+
"esbenp.prettier-vscode"
11+
],
12+
13+
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
14+
// Nothing in here but adding this in order to add extentions later as required.
15+
"unwantedRecommendations": []
16+
}

docs/howto/editor.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ To use it, [install VS Code](https://code.visualstudio.com/).
1919

2020
### Useful extensions for VS Code
2121

22-
Install the following extensions, which support important aspects of our
23-
codebase. Each extension page has install instructions at the top.
22+
VS Code should prompt you to install the recommended extensions when you open the
23+
workspace for the first time. If you don't get the notification you can also review
24+
the list with the `Extensions: Show Recommended Extensions` command (press
25+
`ctrl/cmd + shift + P` to bring up command prompt).
26+
27+
The following are the recommended extensions for reference.
2428

2529
* [React Native
2630
Tools](https://marketplace.visualstudio.com/items?itemName=msjsdiag.vscode-react-native)

0 commit comments

Comments
 (0)