You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: How-to-Contribute.md
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,10 @@ In case of issues, try deleting the contents of `~/.node-gyp` (alternatively `~/
47
47
48
48
> If you are on Windows or Linux 64 bit systems and would like to compile to 32 bit, you'll need to set the `npm_config_arch` environment variable to `ia32` before running `npm`. This will compile all native node modules for a 32 bit architecture. Similarly, when cross-compiling for ARM, set `npm_config_arch` to `arm`.
49
49
50
-
> **Note:** For more information on how to install NPM modules globally on UNIX systems without resorting to `sudo`, refer to [this guide](http://www.johnpapa.net/how-to-use-npm-global-without-sudo-on-osx/).
50
+
> [!NOTE]
51
+
> For more information on how to install NPM modules globally on UNIX systems without resorting to `sudo`, refer to [this guide](http://www.johnpapa.net/how-to-use-npm-global-without-sudo-on-osx/).
51
52
53
+
> [!WARNING]
52
54
> If you have Visual Studio 2019 installed, you may face issues when using the default version of node-gyp. If you have Visual Studio 2019 installed, you may need to follow the solutions [here](https://github.com/nodejs/node-gyp/issues/1747).
53
55
54
56
#### Missing spectre mitigated libraries on Windows
@@ -140,7 +142,8 @@ If the build step fails, or if the built version fails to run (see next section)
140
142
#### Errors and Warnings
141
143
Errors and warnings will show in the console while developing VS Code. If you use VS Code to develop VS Code, errors and warnings are shown in the status bar at the bottom left of the editor. You can view the error list using `View | Errors and Warnings` or pressing <kbd>Ctrl</kbd>+<kbd>P</kbd> and then <kbd>!</kbd> (<kbd>CMD</kbd>+<kbd>P</kbd> and <kbd>!</kbd> on macOS).
142
144
143
-
👉 **Tip!** You don't need to stop and restart the development version of VS Code after each change. You can just execute `Reload Window` from the command palette. We like to assign the keyboard shortcut <kbd>Ctrl</kbd>+<kbd>R</kbd> (<kbd>CMD</kbd>+<kbd>R</kbd> on macOS) to this command.
145
+
> [!TIP]
146
+
> You don't need to stop and restart the development version of VS Code after each change. You can just execute `Reload Window` from the command palette. We like to assign the keyboard shortcut <kbd>Ctrl</kbd>+<kbd>R</kbd> (<kbd>CMD</kbd>+<kbd>R</kbd> on macOS) to this command.
144
147
145
148
### Run
146
149
@@ -166,13 +169,15 @@ Running on Electron with extensions run in NodeJS:
166
169
.\scripts\code-cli.bat
167
170
```
168
171
169
-
👉 **Tip!** If you receive an error stating that the app is not a valid Electron app, it probably means you didn't run `npm run watch` first.
172
+
> [!TIP]
173
+
> If you receive an error stating that the app is not a valid Electron app, it probably means you didn't run `npm run watch` first.
170
174
171
175
#### VS Code for the Web
172
176
173
177
Extensions and UI run in the browser.
174
178
175
-
👉 Besides `npm run watch` also run `npm run watch-web` to build the web bits for the built-in extensions.
179
+
> [!TIP]
180
+
> Besides `npm run watch` also run `npm run watch-web` to build the web bits for the built-in extensions.
176
181
177
182
##### macOS and Linux
178
183
@@ -280,7 +285,8 @@ These `gulp` tasks are available:
280
285
*`vscode-[platform]`: Builds a packaged version for `[platform]`.
281
286
*`vscode-[platform]-min`: Builds a packaged and minified version for `[platform]`.
282
287
283
-
👉 **Tip!** Run `gulp` via `npm` to avoid potential out of memory issues, for example `npm run gulp vscode-linux-x64`
288
+
> [!TIP]
289
+
> Run `gulp` via `npm` to avoid potential out of memory issues, for example `npm run gulp vscode-linux-x64`
284
290
285
291
See also: [Cross-Compiling for Debian-based Linux](https://github.com/Microsoft/vscode/wiki/Cross-Compiling-for-Debian-Based-Linux)
0 commit comments