Bug 1341585 - Ignore Visual Studio Code workspace settings and add a recommended extensions file. r=jya,ted draft
authorMarco Bonardo <mbonardo@mozilla.com>
Wed, 22 Feb 2017 12:57:57 +0100
changeset 490470 a3a395c9d6e6620a643c0ba35ce33ec57423f153
parent 489990 ecf39ae188da37206b39a31e585fdcb028bd8b7b
child 547266 50d272c1d0608224eb24f5eba759508e81239c70
push id47106
push usermak77@bonardo.net
push dateTue, 28 Feb 2017 14:43:52 +0000
reviewersjya, ted
bugs1341585
milestone54.0a1
Bug 1341585 - Ignore Visual Studio Code workspace settings and add a recommended extensions file. r=jya,ted MozReview-Commit-ID: 3pI4BSax7dE
.gitignore
.hgignore
.vscode/extensions.json
--- a/.gitignore
+++ b/.gitignore
@@ -117,8 +117,12 @@ testing/talos/talos/tests/tp5n.zip
 testing/talos/talos/tests/tp5n
 testing/talos/talos/tests/devtools/damp.manifest.develop
 
 # Ignore files created when running a reftest.
 lextab.py
 
 # tup database
 /.tup
+
+# Ignore Visual Studio Code workspace files.
+.vscode/
+!.vscode/extensions.json
--- a/.hgignore
+++ b/.hgignore
@@ -132,10 +132,12 @@ GPATH
 ^talos-venv
 
 # Ignore files created when running a reftest.
 ^lextab.py$
 
 # tup database
 ^\.tup
 
+# Ignore Visual Studio Code workspace files.
+\.vscode/(?!extensions.json$)
+
 subinclude:servo/.hgignore
-
new file mode 100644
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,18 @@
+{
+    // See http://go.microsoft.com/fwlink/?LinkId=827846
+    // for the documentation about the extensions.json format
+    "recommendations": [
+        // Trim only touched lines.
+        "NathanRidley.autotrim",
+        // JS Babel ES6/ES7 syntax hilight.
+        "dzannotti.vscode-babel-coloring",
+        // ESLint support.
+        "dbaeumer.vscode-eslint",
+        // C/C++ language support.
+        "ms-vscode.cpptools",
+        // Rust language support.
+        "kalitaalexey.vscode-rust",
+        // CSS support for HTML documents.
+        "ecmel.vscode-html-css"
+    ]
+}