generator-code 1.6.12 → 1.6.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/README.md +14 -7
  2. package/generators/app/dependencyVersions/package.json +6 -6
  3. package/generators/app/generate-colortheme.js +4 -4
  4. package/generators/app/generate-command-js.js +2 -2
  5. package/generators/app/generate-command-ts.js +3 -3
  6. package/generators/app/generate-command-web.js +2 -2
  7. package/generators/app/generate-extensionpack.js +3 -3
  8. package/generators/app/generate-keymap.js +3 -3
  9. package/generators/app/generate-language.js +3 -3
  10. package/generators/app/generate-localization.js +3 -3
  11. package/generators/app/generate-notebook-renderer.js +2 -2
  12. package/generators/app/generate-snippets.js +3 -3
  13. package/generators/app/index.js +1 -1
  14. package/generators/app/prompts.js +5 -1
  15. package/generators/app/templates/{ext-notebook-renderer/gitattributes → ext-colortheme/.gitattributes} +0 -0
  16. package/generators/app/templates/ext-colortheme/{vscodeignore → .vscodeignore} +0 -0
  17. package/generators/app/templates/ext-colortheme/README.md +10 -7
  18. package/generators/app/templates/ext-colortheme/package.json +20 -20
  19. package/generators/app/templates/ext-colortheme/vsc-extension-quickstart.md +1 -1
  20. package/generators/app/templates/ext-command-js/{vscodeignore → .vscodeignore} +0 -0
  21. package/generators/app/templates/ext-command-js/README.md +6 -6
  22. package/generators/app/templates/ext-command-js/package.json +35 -37
  23. package/generators/app/templates/ext-command-js/vsc-extension-quickstart.md +3 -1
  24. package/generators/app/templates/ext-command-ts/{vscodeignore → .vscodeignore} +0 -0
  25. package/generators/app/templates/ext-command-ts/README.md +9 -8
  26. package/generators/app/templates/ext-command-ts/package.json +45 -45
  27. package/generators/app/templates/ext-command-ts/vsc-extension-quickstart.md +2 -2
  28. package/generators/app/templates/ext-command-ts/vscode-webpack/{vscodeignore → .vscodeignore} +0 -0
  29. package/generators/app/templates/ext-command-ts/vscode-webpack/package.json +51 -51
  30. package/generators/app/templates/ext-command-ts/vscode-webpack/vsc-extension-quickstart.md +1 -1
  31. package/generators/app/templates/ext-command-ts/vscode-webpack/webpack.config.js +1 -1
  32. package/generators/app/templates/ext-command-web/{vscodeignore → .vscodeignore} +0 -0
  33. package/generators/app/templates/ext-command-web/README.md +8 -8
  34. package/generators/app/templates/ext-command-web/package.json +49 -51
  35. package/generators/app/templates/ext-command-web/vsc-extension-quickstart.md +7 -6
  36. package/generators/app/templates/ext-command-web/webpack.config.js +3 -0
  37. package/generators/app/templates/ext-extensionpack/{gitattributes → .gitattributes} +0 -1
  38. package/generators/app/templates/ext-extensionpack/{vscodeignore → .vscodeignore} +0 -0
  39. package/generators/app/templates/ext-extensionpack/README.md +6 -6
  40. package/generators/app/templates/ext-extensionpack/package.json +15 -15
  41. package/generators/app/templates/ext-keymap/{gitattributes → .gitattributes} +0 -1
  42. package/generators/app/templates/ext-keymap/{vscodeignore → .vscodeignore} +0 -0
  43. package/generators/app/templates/ext-keymap/README.md +10 -7
  44. package/generators/app/templates/ext-keymap/package.json +19 -19
  45. package/generators/app/templates/ext-keymap/vsc-extension-quickstart.md +2 -2
  46. package/generators/app/templates/ext-language/{gitattributes → .gitattributes} +0 -1
  47. package/generators/app/templates/ext-language/{vscodeignore → .vscodeignore} +0 -0
  48. package/generators/app/templates/ext-language/README.md +8 -8
  49. package/generators/app/templates/ext-language/package.json +24 -24
  50. package/generators/app/templates/ext-language/vsc-extension-quickstart.md +1 -1
  51. package/generators/app/templates/ext-localization/.gitattributes +2 -0
  52. package/generators/app/templates/ext-localization/{vscodeignore → .vscodeignore} +0 -0
  53. package/generators/app/templates/ext-localization/README.md +2 -1
  54. package/generators/app/templates/ext-localization/package.json +20 -20
  55. package/generators/app/templates/ext-localization/vsc-extension-quickstart.md +2 -2
  56. package/generators/app/templates/ext-notebook-renderer/.gitattributes +2 -0
  57. package/generators/app/templates/ext-notebook-renderer/README.md +3 -3
  58. package/generators/app/templates/ext-notebook-renderer/package.json +2 -2
  59. package/generators/app/templates/ext-snippets/.gitattributes +2 -0
  60. package/generators/app/templates/ext-snippets/{vscodeignore → .vscodeignore} +0 -0
  61. package/generators/app/templates/ext-snippets/README.md +8 -8
  62. package/generators/app/templates/ext-snippets/package.json +18 -18
  63. package/generators/app/templates/ext-snippets/vsc-extension-quickstart.md +1 -1
  64. package/package.json +2 -2
  65. package/generators/app/templates/ext-colortheme/gitattributes +0 -3
  66. package/generators/app/templates/ext-colortheme/gitignore +0 -2
  67. package/generators/app/templates/ext-command-js/gitignore +0 -3
  68. package/generators/app/templates/ext-command-ts/gitignore +0 -5
  69. package/generators/app/templates/ext-command-web/gitignore +0 -5
  70. package/generators/app/templates/ext-extensionpack/gitignore +0 -2
  71. package/generators/app/templates/ext-keymap/gitignore +0 -2
  72. package/generators/app/templates/ext-language/gitignore +0 -2
  73. package/generators/app/templates/ext-localization/gitattributes +0 -3
  74. package/generators/app/templates/ext-localization/gitignore +0 -2
  75. package/generators/app/templates/ext-notebook-renderer/gitignore +0 -4
  76. package/generators/app/templates/ext-snippets/gitattributes +0 -3
  77. package/generators/app/templates/ext-snippets/gitignore +0 -2
@@ -1,48 +1,48 @@
1
1
  {
2
2
  "name": <%- JSON.stringify(name) %>,
3
- "displayName": <%- JSON.stringify(displayName) %>,
4
- "description": <%- JSON.stringify(description) %>,
5
- "version": "0.0.1",
6
- "engines": {
7
- "vscode": <%- JSON.stringify(vsCodeEngine) %>
8
- },
9
- "categories": [
10
- "Other"
11
- ],
12
- "activationEvents": [
13
- <%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
14
- ],
15
- "main": "./out/extension.js",<% if (insiders) { %>
16
- "enabledApiProposals": [],<% } %>
17
- "contributes": {
18
- "commands": [
19
- {
20
- "command": <%- JSON.stringify(`${name}.helloWorld`) %>,
21
- "title": "Hello World"
22
- }
23
- ]
24
- },
25
- "scripts": {
26
- "vscode:prepublish": "<%= pkgManager %> run compile",
27
- "compile": "tsc -p ./",
28
- "watch": "tsc -watch -p ./",
29
- "pretest": "<%= pkgManager %> run compile && <%= pkgManager %> run lint",
30
- "lint": "eslint src --ext ts",
31
- "test": "node ./out/test/runTest.js"<% if (insiders) { %>,
32
- "update-proposed-api": "vscode-dts dev"<% } %>
33
- },
34
- "devDependencies": {
35
- <%- dep("@types/vscode") %>,
36
- <%- dep("@types/glob") %>,
37
- <%- dep("@types/mocha") %>,
38
- <%- dep("@types/node") %>,
39
- <%- dep("@typescript-eslint/eslint-plugin") %>,
40
- <%- dep("@typescript-eslint/parser") %>,
41
- <%- dep("eslint") %>,
42
- <%- dep("glob") %>,
43
- <%- dep("mocha") %>,
44
- <%- dep("typescript") %>,
45
- <%- dep("@vscode/test-electron") %><% if (insiders) { %>,
46
- <%- dep("vscode-dts") %><% } %>
47
- }
3
+ "displayName": <%- JSON.stringify(displayName) %>,
4
+ "description": <%- JSON.stringify(description) %>,
5
+ "version": "0.0.1",
6
+ "engines": {
7
+ "vscode": <%- JSON.stringify(vsCodeEngine) %>
8
+ },
9
+ "categories": [
10
+ "Other"
11
+ ],
12
+ "activationEvents": [
13
+ <%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
14
+ ],
15
+ "main": "./out/extension.js",<% if (insiders) { %>
16
+ "enabledApiProposals": [],<% } %>
17
+ "contributes": {
18
+ "commands": [
19
+ {
20
+ "command": <%- JSON.stringify(`${name}.helloWorld`) %>,
21
+ "title": "Hello World"
22
+ }
23
+ ]
24
+ },
25
+ "scripts": {
26
+ "vscode:prepublish": "<%= pkgManager %> run compile",
27
+ "compile": "tsc -p ./",
28
+ "watch": "tsc -watch -p ./",
29
+ "pretest": "<%= pkgManager %> run compile && <%= pkgManager %> run lint",
30
+ "lint": "eslint src --ext ts",
31
+ "test": "node ./out/test/runTest.js"<% if (insiders) { %>,
32
+ "update-proposed-api": "vscode-dts dev"<% } %>
33
+ },
34
+ "devDependencies": {
35
+ <%- dep("@types/vscode") %>,
36
+ <%- dep("@types/glob") %>,
37
+ <%- dep("@types/mocha") %>,
38
+ <%- dep("@types/node") %>,
39
+ <%- dep("@typescript-eslint/eslint-plugin") %>,
40
+ <%- dep("@typescript-eslint/parser") %>,
41
+ <%- dep("eslint") %>,
42
+ <%- dep("glob") %>,
43
+ <%- dep("mocha") %>,
44
+ <%- dep("typescript") %>,
45
+ <%- dep("@vscode/test-electron") %><% if (insiders) { %>,
46
+ <%- dep("vscode-dts") %><% } %>
47
+ }
48
48
  }
@@ -21,7 +21,6 @@
21
21
  * You can relaunch the extension from the debug toolbar after changing code in `src/extension.ts`.
22
22
  * You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes.
23
23
 
24
-
25
24
  ## Explore the API
26
25
 
27
26
  * You can open the full set of our API when you open the file `node_modules/@types/vscode/index.d.ts`.
@@ -37,6 +36,7 @@
37
36
 
38
37
  ## Go further
39
38
 
39
+ * [Follow UX guidelines](https://code.visualstudio.com/api/ux-guidelines/overview) to create extensions that seamlessly integrate with VS Code's native interface and patterns.
40
40
  * Reduce the extension size and improve the startup time by [bundling your extension](https://code.visualstudio.com/api/working-with-extensions/bundling-extension).
41
- * [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VSCode extension marketplace.
41
+ * [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VS Code extension marketplace.
42
42
  * Automate builds by setting up [Continuous Integration](https://code.visualstudio.com/api/working-with-extensions/continuous-integration).
@@ -1,54 +1,54 @@
1
1
  {
2
2
  "name": <%- JSON.stringify(name) %>,
3
- "displayName": <%- JSON.stringify(displayName) %>,
4
- "description": <%- JSON.stringify(description) %>,
5
- "version": "0.0.1",
6
- "engines": {
7
- "vscode": <%- JSON.stringify(vsCodeEngine) %>
8
- },
9
- "categories": [
10
- "Other"
11
- ],
12
- "activationEvents": [
13
- <%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
14
- ],
15
- "main": "./dist/extension.js",<% if (insiders) { %>
16
- "enabledApiProposals": [],<% } %>
17
- "contributes": {
18
- "commands": [
19
- {
20
- "command": <%- JSON.stringify(`${name}.helloWorld`) %>,
21
- "title": "Hello World"
22
- }
23
- ]
24
- },
25
- "scripts": {
26
- "vscode:prepublish": "<%= pkgManager %> run package",
27
- "compile": "webpack",
28
- "watch": "webpack --watch",
29
- "package": "webpack --mode production --devtool hidden-source-map",
30
- "compile-tests": "tsc -p . --outDir out",
31
- "watch-tests": "tsc -p . -w --outDir out",
32
- "pretest": "<%= pkgManager %> run compile-tests && <%= pkgManager %> run compile && <%= pkgManager %> run lint",
33
- "lint": "eslint src --ext ts",
34
- "test": "node ./out/test/runTest.js"<% if (insiders) { %>,
35
- "update-proposed-api": "vscode-dts dev"<% } %>
36
- },
37
- "devDependencies": {
38
- <%- dep("@types/vscode") %>,
39
- <%- dep("@types/glob") %>,
40
- <%- dep("@types/mocha") %>,
41
- <%- dep("@types/node") %>,
42
- <%- dep("@typescript-eslint/eslint-plugin") %>,
43
- <%- dep("@typescript-eslint/parser") %>,
44
- <%- dep("eslint") %>,
45
- <%- dep("glob") %>,
46
- <%- dep("mocha") %>,
47
- <%- dep("typescript") %>,
48
- <%- dep("ts-loader") %>,
49
- <%- dep("webpack") %>,
50
- <%- dep("webpack-cli") %>,
51
- <%- dep("@vscode/test-electron") %><% if (insiders) { %>,
52
- <%- dep("vscode-dts") %><% } %>
53
- }
3
+ "displayName": <%- JSON.stringify(displayName) %>,
4
+ "description": <%- JSON.stringify(description) %>,
5
+ "version": "0.0.1",
6
+ "engines": {
7
+ "vscode": <%- JSON.stringify(vsCodeEngine) %>
8
+ },
9
+ "categories": [
10
+ "Other"
11
+ ],
12
+ "activationEvents": [
13
+ <%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
14
+ ],
15
+ "main": "./dist/extension.js",<% if (insiders) { %>
16
+ "enabledApiProposals": [],<% } %>
17
+ "contributes": {
18
+ "commands": [
19
+ {
20
+ "command": <%- JSON.stringify(`${name}.helloWorld`) %>,
21
+ "title": "Hello World"
22
+ }
23
+ ]
24
+ },
25
+ "scripts": {
26
+ "vscode:prepublish": "<%= pkgManager %> run package",
27
+ "compile": "webpack",
28
+ "watch": "webpack --watch",
29
+ "package": "webpack --mode production --devtool hidden-source-map",
30
+ "compile-tests": "tsc -p . --outDir out",
31
+ "watch-tests": "tsc -p . -w --outDir out",
32
+ "pretest": "<%= pkgManager %> run compile-tests && <%= pkgManager %> run compile && <%= pkgManager %> run lint",
33
+ "lint": "eslint src --ext ts",
34
+ "test": "node ./out/test/runTest.js"<% if (insiders) { %>,
35
+ "update-proposed-api": "vscode-dts dev"<% } %>
36
+ },
37
+ "devDependencies": {
38
+ <%- dep("@types/vscode") %>,
39
+ <%- dep("@types/glob") %>,
40
+ <%- dep("@types/mocha") %>,
41
+ <%- dep("@types/node") %>,
42
+ <%- dep("@typescript-eslint/eslint-plugin") %>,
43
+ <%- dep("@typescript-eslint/parser") %>,
44
+ <%- dep("eslint") %>,
45
+ <%- dep("glob") %>,
46
+ <%- dep("mocha") %>,
47
+ <%- dep("typescript") %>,
48
+ <%- dep("ts-loader") %>,
49
+ <%- dep("webpack") %>,
50
+ <%- dep("webpack-cli") %>,
51
+ <%- dep("@vscode/test-electron") %><% if (insiders) { %>,
52
+ <%- dep("vscode-dts") %><% } %>
53
+ }
54
54
  }
@@ -43,5 +43,5 @@
43
43
  ## Go further
44
44
 
45
45
  * Reduce the extension size and improve the startup time by [bundling your extension](https://code.visualstudio.com/api/working-with-extensions/bundling-extension).
46
- * [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VSCode extension marketplace.
46
+ * [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VS Code extension marketplace.
47
47
  * Automate builds by setting up [Continuous Integration](https://code.visualstudio.com/api/working-with-extensions/continuous-integration).
@@ -9,7 +9,7 @@ const path = require('path');
9
9
 
10
10
  /** @type WebpackConfig */
11
11
  const extensionConfig = {
12
- target: 'node', // vscode extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/
12
+ target: 'node', // VS Code extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/
13
13
  mode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production')
14
14
 
15
15
  entry: './src/extension.ts', // the entry point of this extension, 📖 -> https://webpack.js.org/configuration/entry-context/
@@ -24,8 +24,8 @@ For example:
24
24
 
25
25
  This extension contributes the following settings:
26
26
 
27
- * `myExtension.enable`: enable/disable this extension
28
- * `myExtension.thing`: set to `blah` to do something
27
+ * `myExtension.enable`: Enable/disable this extension.
28
+ * `myExtension.thing`: Set to `blah` to do something.
29
29
 
30
30
  ## Known Issues
31
31
 
@@ -47,17 +47,17 @@ Fixed issue #.
47
47
 
48
48
  Added features X, Y, and Z.
49
49
 
50
- -----------------------------------------------------------------------------------------------------------
50
+ ---
51
51
 
52
52
  ## Working with Markdown
53
53
 
54
- **Note:** You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
54
+ You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
55
55
 
56
- * Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux)
57
- * Toggle preview (`Shift+CMD+V` on macOS or `Shift+Ctrl+V` on Windows and Linux)
58
- * Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets
56
+ * Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux).
57
+ * Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
58
+ * Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.
59
59
 
60
- ### For more information
60
+ ## For more information
61
61
 
62
62
  * [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
63
63
  * [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)
@@ -1,52 +1,50 @@
1
1
  {
2
- "name": <%- JSON.stringify(name) %>,
3
- "displayName": <%- JSON.stringify(displayName) %>,
4
- "description": <%- JSON.stringify(description) %>,
5
- "version": "0.0.1",
6
- "engines": {
7
- "vscode": <%- JSON.stringify(vsCodeEngine) %>
8
- },
9
- "categories": [
10
- "Other"
11
- ],
12
- "activationEvents": [
13
- <%- JSON.stringify(`onCommand:${name
14
- }.helloWorld`) %>
15
- ],
16
- "browser": "./dist/web/extension.js",
17
- "contributes": {
18
- "commands": [
19
- {
20
- "command": <%- JSON.stringify(`${name
21
- }.helloWorld`) %>,
22
- "title": "Hello World"
23
- }
24
- ]
25
- },
26
- "scripts": {
27
- "test": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js",
28
- "pretest": "<%= pkgManager %> run compile-web",
29
- "vscode:prepublish": "<%= pkgManager %> run package-web",
30
- "compile-web": "webpack",
31
- "watch-web": "webpack --watch",
32
- "package-web": "webpack --mode production --devtool hidden-source-map",
33
- "lint": "eslint src --ext ts",
34
- "run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
35
- },
36
- "devDependencies": {
37
- <%- dep("@types/vscode") %>,
38
- <%- dep("@types/mocha") %>,
39
- <%- dep("eslint") %>,
40
- <%- dep("@typescript-eslint/eslint-plugin") %>,
41
- <%- dep("@typescript-eslint/parser") %>,
42
- <%- dep("mocha") %>,
43
- <%- dep("typescript") %>,
44
- <%- dep("@vscode/test-web") %>,
45
- <%- dep("ts-loader") %>,
46
- <%- dep("webpack") %>,
47
- <%- dep("webpack-cli") %>,
48
- <%- dep("@types/webpack-env") %>,
49
- <%- dep("assert") %>,
50
- <%- dep("process") %>
51
- }
52
- }
2
+ "name": <%- JSON.stringify(name) %>,
3
+ "displayName": <%- JSON.stringify(displayName) %>,
4
+ "description": <%- JSON.stringify(description) %>,
5
+ "version": "0.0.1",
6
+ "engines": {
7
+ "vscode": <%- JSON.stringify(vsCodeEngine) %>
8
+ },
9
+ "categories": [
10
+ "Other"
11
+ ],
12
+ "activationEvents": [
13
+ <%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
14
+ ],
15
+ "browser": "./dist/web/extension.js",
16
+ "contributes": {
17
+ "commands": [
18
+ {
19
+ "command": <%- JSON.stringify(`${name}.helloWorld`) %>,
20
+ "title": "Hello World"
21
+ }
22
+ ]
23
+ },
24
+ "scripts": {
25
+ "test": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js",
26
+ "pretest": "<%= pkgManager %> run compile-web",
27
+ "vscode:prepublish": "<%= pkgManager %> run package-web",
28
+ "compile-web": "webpack",
29
+ "watch-web": "webpack --watch",
30
+ "package-web": "webpack --mode production --devtool hidden-source-map",
31
+ "lint": "eslint src --ext ts",
32
+ "run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
33
+ },
34
+ "devDependencies": {
35
+ <%- dep("@types/vscode") %>,
36
+ <%- dep("@types/mocha") %>,
37
+ <%- dep("eslint") %>,
38
+ <%- dep("@typescript-eslint/eslint-plugin") %>,
39
+ <%- dep("@typescript-eslint/parser") %>,
40
+ <%- dep("mocha") %>,
41
+ <%- dep("typescript") %>,
42
+ <%- dep("@vscode/test-web") %>,
43
+ <%- dep("ts-loader") %>,
44
+ <%- dep("webpack") %>,
45
+ <%- dep("webpack-cli") %>,
46
+ <%- dep("@types/webpack-env") %>,
47
+ <%- dep("assert") %>,
48
+ <%- dep("process") %>
49
+ }
50
+ }
@@ -13,10 +13,10 @@
13
13
 
14
14
  ## Get up and running the Web Extension
15
15
 
16
- * `npm install`
17
- * place breakpoints in `src/web/extension.ts`
18
- * debug via F5 (Run Web Extension)
19
- * execute extension code via `F1 > Hello world`
16
+ * Run `npm install`.
17
+ * Place breakpoints in `src/web/extension.ts`.
18
+ * Debug via F5 (Run Web Extension).
19
+ * Execute extension code via `F1 > Hello world`.
20
20
 
21
21
  ## Make changes
22
22
 
@@ -38,6 +38,7 @@
38
38
 
39
39
  ## Go further
40
40
 
41
- * Check out the [Web Extension Guide](https://code.visualstudio.com/api/extension-guides/web-extensions)
42
- * [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VSCode extension marketplace.
41
+ * [Follow UX guidelines](https://code.visualstudio.com/api/ux-guidelines/overview) to create extensions that seamlessly integrate with VS Code's native interface and patterns.
42
+ * Check out the [Web Extension Guide](https://code.visualstudio.com/api/extension-guides/web-extensions).
43
+ * [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VS Code extension marketplace.
43
44
  * Automate builds by setting up [Continuous Integration](https://code.visualstudio.com/api/working-with-extensions/continuous-integration).
@@ -49,6 +49,9 @@ const webExtensionConfig = {
49
49
  }]
50
50
  },
51
51
  plugins: [
52
+ new webpack.optimize.LimitChunkCountPlugin({
53
+ maxChunks: 1 // disable chunks by default since web extensions must be a single bundle
54
+ }),
52
55
  new webpack.ProvidePlugin({
53
56
  process: 'process/browser', // provide a shim for the global `process` variable
54
57
  }),
@@ -1,3 +1,2 @@
1
1
  # Set default behavior to automatically normalize line endings.
2
2
  * text=auto
3
-
@@ -1,12 +1,12 @@
1
- # README
1
+ # <%- name %> README
2
2
 
3
- ## This is the README for your extension pack "<%= name %>"
3
+ ## Working with Markdown
4
4
 
5
- You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
5
+ You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
6
6
 
7
- * Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux)
8
- * Toggle preview (`Shift+CMD+V` on macOS or `Shift+Ctrl+V` on Windows and Linux)
9
- * Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets
7
+ * Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux).
8
+ * Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
9
+ * Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.
10
10
 
11
11
  ## For more information
12
12
 
@@ -1,16 +1,16 @@
1
1
  {
2
- "name": <%- JSON.stringify(name) %>,
3
- "displayName": <%- JSON.stringify(displayName) %>,
4
- "description": <%- JSON.stringify(description) %>,
5
- "version": "0.0.1",
6
- "engines": {
7
- "vscode": <%- JSON.stringify(vsCodeEngine) %>
8
- },
9
- "categories": [
10
- "Extension Packs"
11
- ],
12
- "extensionPack": [ <% for (i=0; i<extensionList.length-1; i++) { %>
13
- "<%- extensionList[i] %>", <%}%>
14
- "<%- extensionList[extensionList.length-1]%>"
15
- ]
16
- }
2
+ "name": <%- JSON.stringify(name) %>,
3
+ "displayName": <%- JSON.stringify(displayName) %>,
4
+ "description": <%- JSON.stringify(description) %>,
5
+ "version": "0.0.1",
6
+ "engines": {
7
+ "vscode": <%- JSON.stringify(vsCodeEngine) %>
8
+ },
9
+ "categories": [
10
+ "Extension Packs"
11
+ ],
12
+ "extensionPack": [ <% for (i=0; i<extensionList.length-1; i++) { %>
13
+ "<%- extensionList[i] %>", <%}%>
14
+ "<%- extensionList[extensionList.length-1]%>"
15
+ ]
16
+ }
@@ -1,3 +1,2 @@
1
1
  # Set default behavior to automatically normalize line endings.
2
2
  * text=auto
3
-
@@ -1,12 +1,15 @@
1
- # README
2
- ## This is the README for your extension "<%= name %>"
3
- You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
1
+ # <%- name %> README
4
2
 
5
- * Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux)
6
- * Toggle preview (`Shift+CMD+V` on macOS or `Shift+Ctrl+V` on Windows and Linux)
7
- * Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets
3
+ ## Working with Markdown
4
+
5
+ You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
6
+
7
+ * Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux).
8
+ * Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
9
+ * Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.
10
+
11
+ ## For more information
8
12
 
9
- ### For more information
10
13
  * [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
11
14
  * [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)
12
15
 
@@ -1,20 +1,20 @@
1
1
  {
2
- "name": <%- JSON.stringify(name) %>,
3
- "displayName": <%- JSON.stringify(displayName) %>,
4
- "description": <%- JSON.stringify(description) %>,
5
- "version": "0.0.1",
6
- "engines": {
7
- "vscode": <%- JSON.stringify(vsCodeEngine) %>
8
- },
9
- "categories": [
10
- "Keymaps"
11
- ],
12
- "contributes": {
13
- "keybindings": [
14
- {
15
- "key": "ctrl+.",
16
- "command": "workbench.action.showCommands"
17
- }
18
- ]
19
- }
20
- }
2
+ "name": <%- JSON.stringify(name) %>,
3
+ "displayName": <%- JSON.stringify(displayName) %>,
4
+ "description": <%- JSON.stringify(description) %>,
5
+ "version": "0.0.1",
6
+ "engines": {
7
+ "vscode": <%- JSON.stringify(vsCodeEngine) %>
8
+ },
9
+ "categories": [
10
+ "Keymaps"
11
+ ],
12
+ "contributes": {
13
+ "keybindings": [
14
+ {
15
+ "key": "ctrl+.",
16
+ "command": "workbench.action.showCommands"
17
+ }
18
+ ]
19
+ }
20
+ }
@@ -8,8 +8,8 @@
8
8
  ## Get up and running straight away
9
9
 
10
10
  * Press `F5` to open a new window with your extension loaded.
11
- * Press `Ctrl + .` instead of `Ctrl + Shift + P`
12
- * Verify that it will launch the Command Palette listing all available commands. The `Ctrl + .` keyboard shortcut was added as an example to you.
11
+ * Press `Ctrl+.` instead of `Ctrl+Shift+P`.
12
+ * Verify that it will launch the Command Palette listing all available commands. The `Ctrl+.` keyboard shortcut was added as an example to you.
13
13
 
14
14
  ## Make changes
15
15
 
@@ -1,3 +1,2 @@
1
1
  # Set default behavior to automatically normalize line endings.
2
2
  * text=auto
3
-
@@ -24,8 +24,8 @@ For example:
24
24
 
25
25
  This extension contributes the following settings:
26
26
 
27
- * `myExtension.enable`: enable/disable this extension
28
- * `myExtension.thing`: set to `blah` to do something
27
+ * `myExtension.enable`: Enable/disable this extension.
28
+ * `myExtension.thing`: Set to `blah` to do something.
29
29
 
30
30
  ## Known Issues
31
31
 
@@ -47,17 +47,17 @@ Fixed issue #.
47
47
 
48
48
  Added features X, Y, and Z.
49
49
 
50
- -----------------------------------------------------------------------------------------------------------
50
+ ---
51
51
 
52
52
  ## Working with Markdown
53
53
 
54
- **Note:** You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
54
+ You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
55
55
 
56
- * Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux)
57
- * Toggle preview (`Shift+CMD+V` on macOS or `Shift+Ctrl+V` on Windows and Linux)
58
- * Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets
56
+ * Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux).
57
+ * Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
58
+ * Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.
59
59
 
60
- ### For more information
60
+ ## For more information
61
61
 
62
62
  * [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
63
63
  * [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)