Skip to content

Commit cd40f85

Browse files
Nikola HristovNikola Hristov
authored andcommitted
1 parent 35f692c commit cd40f85

File tree

11 files changed

+332
-333
lines changed

11 files changed

+332
-333
lines changed

generators/app/templates/ext-colortheme/vsc-extension-quickstart.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,40 @@
22

33
## What's in the folder
44

5-
- This folder contains all of the files necessary for your color theme
6-
extension.
7-
- `package.json` - this is the manifest file that defines the location of the
8-
theme file and specifies the base theme of the theme.
9-
- `themes/<%= themeFileName %>` - the color theme definition file.
5+
- This folder contains all of the files necessary for your color theme
6+
extension.
7+
- `package.json` - this is the manifest file that defines the location of the
8+
theme file and specifies the base theme of the theme.
9+
- `themes/<%= themeFileName %>` - the color theme definition file.
1010

1111
## Get up and running straight away
1212

13-
- Press `F5` to open a new window with your extension loaded.
14-
- Open the color theme picker with the
15-
`File > Preferences > Theme > Color Theme` menu item, or use the
16-
`Preferences: Color Theme command (Ctrl+K Ctrl+T)` and pick your theme
17-
- Open a file that has a language associated. The languages' configured
18-
grammar will tokenize the text and assign 'scopes' to the tokens. To examine
19-
these scopes, invoke the `Developer: Inspect Editor Tokens and Scopes`
20-
command from the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac).
13+
- Press `F5` to open a new window with your extension loaded.
14+
- Open the color theme picker with the
15+
`File > Preferences > Theme > Color Theme` menu item, or use the
16+
`Preferences: Color Theme command (Ctrl+K Ctrl+T)` and pick your theme
17+
- Open a file that has a language associated. The languages' configured grammar
18+
will tokenize the text and assign 'scopes' to the tokens. To examine these
19+
scopes, invoke the `Developer: Inspect Editor Tokens and Scopes` command from
20+
the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac).
2121

2222
## Make changes
2323

24-
- Changes to the theme file are automatically applied to the Extension
25-
Development Host window.
24+
- Changes to the theme file are automatically applied to the Extension
25+
Development Host window.
2626

2727
## Adopt your theme to Visual Studio Code
2828

29-
- The token colorization is done based on standard TextMate themes. Colors are
30-
matched against one or more scopes.
29+
- The token colorization is done based on standard TextMate themes. Colors are
30+
matched against one or more scopes.
3131

3232
To learn more about scopes and how they're used, check out the
3333
[`color theme`](https://code.visualstudio.com/api/extension-guides/color-theme)
3434
documentation.
3535

3636
## Install your extension
3737

38-
- To start using your extension with Visual Studio Code copy it into the
39-
`<user home>/.vscode/extensions` folder and restart Code.
40-
- To share your extension with the world, read on
41-
HTTPS://code.visualstudio.com/docs about publishing an extension.
38+
- To start using your extension with Visual Studio Code copy it into the
39+
`<user home>/.vscode/extensions` folder and restart Code.
40+
- To share your extension with the world, read on
41+
HTTPS://code.visualstudio.com/docs about publishing an extension.

generators/app/templates/ext-command-js/vsc-extension-quickstart.md

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -2,63 +2,63 @@
22

33
## What's in the folder
44

5-
- This folder contains all of the files necessary for your extension.
6-
- `package.json` - this is the manifest file in which you declare your
7-
extension and command.
8-
- The sample plugin registers a command and defines its title and command
9-
name. With this information VS Code can show the command in the command
10-
palette. It doesn’t yet need to load the plugin.
11-
- `extension.js` - this is the main file where you will provide the
12-
implementation of your command.
13-
- The file exports one function, `activate`, which is called the very
14-
first time your extension is activated (in this case by executing the
15-
command). Inside the `activate` function we call `registerCommand`.
16-
- We pass the function containing the implementation of the command as the
17-
second parameter to `registerCommand`.
5+
- This folder contains all of the files necessary for your extension.
6+
- `package.json` - this is the manifest file in which you declare your extension
7+
and command.
8+
- The sample plugin registers a command and defines its title and command
9+
name. With this information VS Code can show the command in the command
10+
palette. It doesn’t yet need to load the plugin.
11+
- `extension.js` - this is the main file where you will provide the
12+
implementation of your command.
13+
- The file exports one function, `activate`, which is called the very first
14+
time your extension is activated (in this case by executing the command).
15+
Inside the `activate` function we call `registerCommand`.
16+
- We pass the function containing the implementation of the command as the
17+
second parameter to `registerCommand`.
1818

1919
## Get up and running straight away
2020

21-
- Press `F5` to open a new window with your extension loaded.
22-
- Run your command from the command palette by pressing (`Ctrl+Shift+P` or
23-
`Cmd+Shift+P` on Mac) and typing `Hello World`.
24-
- Set breakpoints in your code inside `extension.js` to debug your extension.
25-
- Find output from your extension in the debug console.
21+
- Press `F5` to open a new window with your extension loaded.
22+
- Run your command from the command palette by pressing (`Ctrl+Shift+P` or
23+
`Cmd+Shift+P` on Mac) and typing `Hello World`.
24+
- Set breakpoints in your code inside `extension.js` to debug your extension.
25+
- Find output from your extension in the debug console.
2626

2727
## Make changes
2828

29-
- You can relaunch the extension from the debug toolbar after changing code in
30-
`extension.js`.
31-
- You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with
32-
your extension to load your changes.
29+
- You can relaunch the extension from the debug toolbar after changing code in
30+
`extension.js`.
31+
- You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your
32+
extension to load your changes.
3333

3434
## Explore the API
3535

36-
- You can open the full set of our API when you open the file
37-
`node_modules/@types/vscode/index.d.ts`.
36+
- You can open the full set of our API when you open the file
37+
`node_modules/@types/vscode/index.d.ts`.
3838

3939
## Run tests
4040

41-
- Install the
42-
[`Extension Test Runner`](https://marketplace.visualstudio.com/items?itemName=ms-vscode.extension-test-runner)
43-
- Open the Testing view from the activity bar and click the Run Test" button,
44-
or use the hotkey `Ctrl/Cmd + ; A`
45-
- See the output of the test result in the Test Results view.
46-
- Make changes to `test/extension.test.js` or create new test files inside the
47-
`test` folder.
48-
- The provided test runner will only consider files matching the name
49-
pattern `**.test.js`.
50-
- You can create folders inside the `test` folder to structure your tests
51-
any way you want.
41+
- Install the
42+
[`Extension Test Runner`](https://marketplace.visualstudio.com/items?itemName=ms-vscode.extension-test-runner)
43+
- Open the Testing view from the activity bar and click the Run Test" button, or
44+
use the hotkey `Ctrl/Cmd + ; A`
45+
- See the output of the test result in the Test Results view.
46+
- Make changes to `test/extension.test.js` or create new test files inside the
47+
`test` folder.
48+
- The provided test runner will only consider files matching the name
49+
pattern `**.test.js`.
50+
- You can create folders inside the `test` folder to structure your tests
51+
any way you want.
5252

5353
## Go further
5454

55-
- [`Follow UX guidelines`](https://code.visualstudio.com/api/ux-guidelines/overview)
56-
to create extensions that seamlessly integrate with VS Code's native
57-
interface and patterns.
58-
- [`Publish your extension`](https://code.visualstudio.com/api/working-with-extensions/publishing-extension)
59-
on the VS Code extension marketplace.
60-
- Automate builds by setting up
61-
[`Continuous Integration`](https://code.visualstudio.com/api/working-with-extensions/continuous-integration).
62-
- Integrate to the
63-
[`report issue`](https://code.visualstudio.com/api/get-started/wrapping-up#issue-reporting)
64-
flow to get issue and feature requests reported by users.
55+
- [`Follow UX guidelines`](https://code.visualstudio.com/api/ux-guidelines/overview)
56+
to create extensions that seamlessly integrate with VS Code's native interface
57+
and patterns.
58+
- [`Publish your extension`](https://code.visualstudio.com/api/working-with-extensions/publishing-extension)
59+
on the VS Code extension marketplace.
60+
- Automate builds by setting up
61+
[`Continuous Integration`](https://code.visualstudio.com/api/working-with-extensions/continuous-integration).
62+
- Integrate to the
63+
[`report issue`](https://code.visualstudio.com/api/get-started/wrapping-up#issue-reporting)
64+
flow to get issue and feature requests reported by users.

generators/app/templates/ext-command-ts/vsc-extension-quickstart.md

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -2,68 +2,68 @@
22

33
## What's in the folder
44

5-
- This folder contains all of the files necessary for your extension.
6-
- `package.json` - this is the manifest file in which you declare your
7-
extension and command.
8-
- The sample plugin registers a command and defines its title and command
9-
name. With this information VS Code can show the command in the command
10-
palette. It doesn’t yet need to load the plugin.
11-
- `src/extension.ts` - this is the main file where you will provide the
12-
implementation of your command.
13-
- The file exports one function, `activate`, which is called the very
14-
first time your extension is activated (in this case by executing the
15-
command). Inside the `activate` function we call `registerCommand`.
16-
- We pass the function containing the implementation of the command as the
17-
second parameter to `registerCommand`.
5+
- This folder contains all of the files necessary for your extension.
6+
- `package.json` - this is the manifest file in which you declare your extension
7+
and command.
8+
- The sample plugin registers a command and defines its title and command
9+
name. With this information VS Code can show the command in the command
10+
palette. It doesn’t yet need to load the plugin.
11+
- `src/extension.ts` - this is the main file where you will provide the
12+
implementation of your command.
13+
- The file exports one function, `activate`, which is called the very first
14+
time your extension is activated (in this case by executing the command).
15+
Inside the `activate` function we call `registerCommand`.
16+
- We pass the function containing the implementation of the command as the
17+
second parameter to `registerCommand`.
1818

1919
## Get up and running straight away
2020

21-
- Press `F5` to open a new window with your extension loaded.
22-
- Run your command from the command palette by pressing (`Ctrl+Shift+P` or
23-
`Cmd+Shift+P` on Mac) and typing `Hello World`.
24-
- Set breakpoints in your code inside `src/extension.ts` to debug your
25-
extension.
26-
- Find output from your extension in the debug console.
21+
- Press `F5` to open a new window with your extension loaded.
22+
- Run your command from the command palette by pressing (`Ctrl+Shift+P` or
23+
`Cmd+Shift+P` on Mac) and typing `Hello World`.
24+
- Set breakpoints in your code inside `src/extension.ts` to debug your
25+
extension.
26+
- Find output from your extension in the debug console.
2727

2828
## Make changes
2929

30-
- You can relaunch the extension from the debug toolbar after changing code in
31-
`src/extension.ts`.
32-
- You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with
33-
your extension to load your changes.
30+
- You can relaunch the extension from the debug toolbar after changing code in
31+
`src/extension.ts`.
32+
- You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your
33+
extension to load your changes.
3434

3535
## Explore the API
3636

37-
- You can open the full set of our API when you open the file
38-
`node_modules/@types/vscode/index.d.ts`.
37+
- You can open the full set of our API when you open the file
38+
`node_modules/@types/vscode/index.d.ts`.
3939

4040
## Run tests
4141

42-
- Install the
43-
[`Extension Test Runner`](HTTPS://marketplace.visualstudio.com/items?itemName=ms-vscode.extension-test-runner)
44-
- Run the "watch" task via the **Tasks: Run Task** command. Make sure this is
45-
running, or tests might not be discovered.
46-
- Open the Testing view from the activity bar and click the Run Test" button,
47-
or use the hotkey `Ctrl/Cmd + ; A`
48-
- See the output of the test result in the Test Results view.
49-
- Make changes to `src/test/extension.test.ts` or create new test files inside
50-
the `test` folder.
51-
- The provided test runner will only consider files matching the name
52-
pattern `**.test.ts`.
53-
- You can create folders inside the `test` folder to structure your tests
54-
any way you want.
42+
- Install the
43+
[`Extension Test Runner`](HTTPS://marketplace.visualstudio.com/items?itemName=ms-vscode.extension-test-runner)
44+
- Run the "watch" task via the **Tasks: Run Task** command. Make sure this is
45+
running, or tests might not be discovered.
46+
- Open the Testing view from the activity bar and click the Run Test" button, or
47+
use the hotkey `Ctrl/Cmd + ; A`
48+
- See the output of the test result in the Test Results view.
49+
- Make changes to `src/test/extension.test.ts` or create new test files inside
50+
the `test` folder.
51+
- The provided test runner will only consider files matching the name
52+
pattern `**.test.ts`.
53+
- You can create folders inside the `test` folder to structure your tests
54+
any way you want.
5555

5656
## Go further
5757

58-
- [`Follow UX guidelines`](HTTPS://code.visualstudio.com/api/ux-guidelines/overview)
59-
to create extensions that seamlessly integrate with VS Code's native
60-
interface and patterns.
61-
- Reduce the extension size and improve the startup time by
62-
[`bundling your extension`](HTTPS://code.visualstudio.com/api/working-with-extensions/bundling-extension).
63-
- [`Publish your extension`](HTTPS://code.visualstudio.com/api/working-with-extensions/publishing-extension)
64-
on the VS Code extension marketplace.
65-
- Automate builds by setting up
66-
[`Continuous Integration`](HTTPS://code.visualstudio.com/api/working-with-extensions/continuous-integration).
67-
- Integrate to the
68-
[`report issue`](HTTPS://code.visualstudio.com/api/get-started/wrapping-up#issue-reporting)
69-
flow to get issue and feature requests reported by users.
58+
- [`Follow UX guidelines`](HTTPS://code.visualstudio.com/api/ux-guidelines/overview)
59+
to create extensions that seamlessly integrate with VS Code's native interface
60+
and patterns.
61+
- Reduce the extension size and improve the startup time by
62+
[`bundling your extension`](HTTPS://code.visualstudio.com/api/working-with-extensions/bundling-extension).
63+
- [`Publish your extension`](HTTPS://code.visualstudio.com/api/working-with-extensions/publishing-extension)
64+
on the VS Code extension marketplace.
65+
- Automate builds by setting up
66+
[`Continuous Integration`](HTTPS://code.visualstudio.com/api/working-with-extensions/continuous-integration).
67+
- Integrate to the
68+
[`report issue`](HTTPS://code.visualstudio.com/api/get-started/wrapping-up#issue-reporting)
69+
flow to get issue and feature requests reported by users.

0 commit comments

Comments
 (0)