From 0ee10ddbb277a95ffb8b157be4882a0bf8183675 Mon Sep 17 00:00:00 2001 From: Andres Rios Date: Mon, 10 Dec 2018 21:14:21 +0300 Subject: [PATCH] Improve the workspace - Remove an unnecessary dependency: "devtools-terminal". - Add the support for .es extensions to VSCode --- .vscode/settings.json | 6 ++++++ configure/README.md | 27 +++++++++++++++++++++++++++ package.json | 3 +-- 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..c5b542a51f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + // Configure file associations to languages (e.g. `"*.extension": "html"`). These have precedence over the default associations of the languages installed. + "files.associations": { + "*.es": "javascript" + } +} \ No newline at end of file diff --git a/configure/README.md b/configure/README.md index 676e82b4f2..f422cc1df4 100644 --- a/configure/README.md +++ b/configure/README.md @@ -5,3 +5,30 @@ Scripts used for configuring server nodes ## `nginx` nginx setup. Derived from [`whatwg/misc-server`](https://github.com/whatwg/misc-server) + +## `vscode` + +1. CTRL+SHIFT+P, search for "preferences open settings (JSON)" +2. Open the "Workspace settings" tab +3. Add the property "files.assiciations" if not present or extend it with the value "*.es": "javascript" + +Should looks like + +```javascript + "files.associations": { + "*.es": "javascript" + } +``` + +or if your workspace settings is empty then, put the following + +```javascript +{ + // Configure file associations to languages (e.g. `"*.extension": "html"`). These have precedence over the default associations of the languages installed. + "files.associations": { + "*.es": "javascript" + } +} +``` + +The result of the steps above are in the file `.vscode/settings.json`. diff --git a/package.json b/package.json index ff5c08390a..b2c4e5237a 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ }, "scripts": { "test": "bin/test", - "start": "bin/serve", + "start": "bin/browse", "package": "bin/package", "postinstall": "bin/publish" }, @@ -57,7 +57,6 @@ "postcss-cli": "*", "autoprefixer": "*", "browser-sync": "*", - "devtools-terminal": "*", "postcss-custom-properties": "*" }, "dependencies": {