Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

Lauryn Menard803f3cfac656
diff --git a/.gitignore b/.gitignore
index 0f1f62197a5..8d6fae4d726 100644
--- a/.gitignore
+++ b/.gitignore
@@ -70,9 +70,12 @@ zulip.kdev4
*.kate-swp
*.sublime-project
*.sublime-workspace
-.vscode/
*.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/
.eslintcache
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 00000000000..752115e914b
--- /dev/null
+++ b/.vscode/extensions.json
@@ -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": []
+}