editor: Add `.vscode/extensions.json` file.

Create a file with recommended extensions for contributors using
VScode as their IDE.

Update `.gitignore` so that the json file is added to the project
repository, without changing how the rest of .vscode is handled.
This commit is contained in:
Lauryn Menard 2021-10-22 14:35:55 +02:00 committed by Tim Abbott
parent d2c5067839
commit 803f3cfac6
2 changed files with 27 additions and 2 deletions

7
.gitignore vendored
View File

@ -70,9 +70,12 @@ zulip.kdev4
*.kate-swp *.kate-swp
*.sublime-project *.sublime-project
*.sublime-workspace *.sublime-workspace
.vscode/
*.DS_Store *.DS_Store
# .cache/ is generated by Visual Studio Code's test runner # VS Code. Avoid checking in .vscode in general, while still specifying
# recommended extensions for working with this repository.
/.vscode/**/*
!/.vscode/extensions.json
# .cache/ is generated by VS Code test runner
.cache/ .cache/
.eslintcache .eslintcache

22
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,22 @@
{
// Recommended VS Code extensions for zulip/zulip.
//
// VS Code prompts a user to install the recommended extensions
// when a workspace is opened for the first time. The user can
// also review the list with the 'Extensions: Show Recommended
// Extensions' command. See
// https://code.visualstudio.com/docs/editor/extension-marketplace#_workspace-recommended-extensions
// for more information.
//
// Extension identifier format: ${publisher}.${name}.
// Example: vscode.csharp
"recommendations": [
"42crunch.vscode-openapi",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
],
// Extensions recommended by VS Code that are not recommended for users of zulip/zulip.
"unwantedRecommendations": []
}