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: .devcontainer/README.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,14 @@ This dev container includes configuration for a development container for workin
19
19
> **Note:** The Dev Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.
20
20
21
21
4. Due to the size of the repository we strongly recommend cloning it on a Linux filesystem for better bind mount performance. On macOS we recommend using a Docker volume (press <kbd>F1</kbd> and select **Dev Containers: Clone Repository in Container Volume...**) and on Windows we recommend using a WSL folder:
22
+
22
23
- Make sure you are running a recent WSL version to get X11 and Wayland support.
23
24
- Use the WSL extension for VS Code to open the cloned folder in WSL.
24
25
- Press <kbd>F1</kbd> and select **Dev Containers: Reopen in Container**.
25
26
26
27
Next: **[Try it out!](#try-it)**
27
28
28
-
## Try it!
29
+
## Try it
29
30
30
31
To start working with Code - OSS, follow these steps:
31
32
@@ -50,6 +51,6 @@ Next, let's try debugging.
50
51
51
52
Enjoy!
52
53
53
-
# Notes
54
+
## Notes
54
55
55
56
The container comes with VS Code Insiders installed. To run it from an Integrated Terminal use `VSCODE_IPC_HOOK_CLI= /usr/bin/code-insiders .`.
Copy file name to clipboardexpand all lines: .devcontainer/prebuilt/README.md
+24-21
Original file line number
Diff line number
Diff line change
@@ -14,21 +14,21 @@ If you already have VS Code and Docker installed, you can click the badge above
14
14
15
15
2.**Important**: Docker needs at least **4 Cores and 8 GB of RAM** to run a full build with **9 GB of RAM** being recommended. If you are on macOS, or are using the old Hyper-V engine for Windows, update these values for Docker Desktop by right-clicking on the Docker status bar item and going to **Preferences/Settings > Resources > Advanced**.
16
16
17
-
> **Note:** The [Resource Monitor](https://marketplace.visualstudio.com/items?itemName=mutantdino.resourcemonitor) extension is included in the container so you can keep an eye on CPU/Memory in the status bar.
17
+
> **Note:** The [Resource Monitor](https://marketplace.visualstudio.com/items?itemName=mutantdino.resourcemonitor) extension is included in the container so you can keep an eye on CPU/Memory in the status bar.
18
18
19
19
3. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the [Dev Containers](https://aka.ms/vscode-remote/download/containers) extension.
20
20
21
-

21
+

22
22
23
-
> **Note:** The Dev Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.
23
+
> **Note:** The Dev Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.
24
24
25
25
4. Press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd> and select **Dev Containers: Clone Repository in Container Volume...**.
26
26
27
-
> **Tip:** While you can use your local source tree instead, operations like `yarn install` can be slow on macOS or when using the Hyper-V engine on Windows. We recommend the "clone repository in container" approach instead since it uses "named volume" rather than the local filesystem.
27
+
> **Tip:** While you can use your local source tree instead, operations like `yarn install` can be slow on macOS or when using the Hyper-V engine on Windows. We recommend the "clone repository in container" approach instead since it uses "named volume" rather than the local filesystem.
28
28
29
29
5. Type `https://github.com/microsoft/vscode` (or a branch or PR URL) in the input box and press <kbd>Enter</kbd>.
30
30
31
-
6. After the container is running, open a web browser and go to [http://localhost:6080](http://localhost:6080), or use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.
31
+
6. After the container is running, open a web browser and go to [http://localhost:6080](http://localhost:6080), or use a [VNC Viewer][def] to connect to `localhost:5901` and enter `vscode` as the password.
32
32
33
33
Anything you start in VS Code, or the integrated terminal, will appear here.
34
34
@@ -54,41 +54,42 @@ Next: **[Try it out!](#try-it)**
54
54
55
55
### Using VS Code with GitHub Codespaces
56
56
57
-
You may see improved VNC responsiveness when accessing a codespace from VS Code client since you can use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/). Here's how to do it.
57
+
You may see improved VNC responsiveness when accessing a codespace from VS Code client since you can use a [VNC Viewer][def]. Here's how to do it.
58
58
59
-
1.Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the the [GitHub Codespaces extension](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces).
59
+
1. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the the [GitHub Codespaces extension](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces).
60
60
61
-
> **Note:** The GitHub Codespaces extension requires the Visual Studio Code distribution of Code - OSS.
61
+
> **Note:** The GitHub Codespaces extension requires the Visual Studio Code distribution of Code - OSS.
62
62
63
63
2. After the VS Code is up and running, press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd>, choose **Codespaces: Create New Codespace**, and use the following settings:
64
-
-`microsoft/vscode` for the repository.
65
-
- Select any branch (e.g. **main**) - you can select a different one later.
66
-
- Choose **Standard** (4-core, 8GB) as the size.
67
64
68
-
4. After you have connected to the codespace, you can use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.
65
+
-`microsoft/vscode` for the repository.
66
+
- Select any branch (e.g. **main**) - you can select a different one later.
67
+
- Choose **Standard** (4-core, 8GB) as the size.
68
+
69
+
3. After you have connected to the codespace, you can use a [VNC Viewer][def] to connect to `localhost:5901` and enter `vscode` as the password.
69
70
70
71
> **Tip:** You may also need change your VNC client's **Picture Quality** setting to **High** to get a full color desktop.
71
72
72
-
5. Anything you start in VS Code, or the integrated terminal, will appear here.
73
+
4. Anything you start in VS Code, or the integrated terminal, will appear here.
73
74
74
75
Next: **[Try it out!](#try-it)**
75
76
76
-
## Try it!
77
+
## Try it
77
78
78
79
This container uses the [Fluxbox](http://fluxbox.org/) window manager to keep things lean. **Right-click on the desktop** to see menu options. It works with GNOME and GTK applications, so other tools can be installed if needed.
79
80
80
-
> **Note:** You can also set the resolution from the command line by typing `set-resolution`.
81
+
> **Note:** You can also set the resolution from the command line by typing `set-resolution`.
81
82
82
83
To start working with Code - OSS, follow these steps:
83
84
84
85
1. In your local VS Code client, open a terminal (<kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>\`</kbd>) and type the following commands:
85
86
86
-
```bash
87
-
yarn install
88
-
bash scripts/code.sh
89
-
```
87
+
```bash
88
+
yarn install
89
+
bash scripts/code.sh
90
+
```
90
91
91
-
2. After the build is complete, open a web browser or a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to the desktop environment as described in the quick start and enter `vscode` as the password.
92
+
2. After the build is complete, open a web browser or a [VNC Viewer][def] to connect to the desktop environment as described in the quick start and enter `vscode` as the password.
92
93
93
94
3. You should now see Code - OSS!
94
95
@@ -98,8 +99,10 @@ Next, let's try debugging.
98
99
99
100
2. Go to your local VS Code client, and use the **Run / Debug** view to launch the **VS Code** configuration. (Typically the default, so you can likely just press <kbd>F5</kbd>).
100
101
101
-
> **Note:** If launching times out, you can increase the value of `timeout` in the "VS Code", "Attach Main Process", "Attach Extension Host", and "Attach to Shared Process" configurations in [launch.json](../../.vscode/launch.json). However, running `scripts/code.sh` first will set up Electron which will usually solve timeout issues.
102
+
> **Note:** If launching times out, you can increase the value of `timeout` in the "VS Code", "Attach Main Process", "Attach Extension Host", and "Attach to Shared Process" configurations in [launch.json](../../.vscode/launch.json). However, running `scripts/code.sh` first will set up Electron which will usually solve timeout issues.
102
103
103
104
3. After a bit, Code - OSS will appear with the debugger attached!
@@ -60,9 +61,10 @@ VS Code includes a set of built-in extensions located in the [extensions](extens
60
61
61
62
This repository includes a Visual Studio Code Dev Containers / GitHub Codespaces development container.
62
63
63
-
- For [Dev Containers](https://aka.ms/vscode-remote/download/containers), use the **Dev Containers: Clone Repository in Container Volume...** command which creates a Docker volume for better disk I/O on macOS and Windows.
64
-
- If you already have VS Code and Docker installed, you can also click [here](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/vscode) to get started. This will cause VS Code to automatically install the Dev Containers extension if needed, clone the source code into a container volume, and spin up a dev container for use.
65
-
- For Codespaces, install the [GitHub Codespaces](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces) extension in VS Code, and use the **Codespaces: Create New Codespace** command.
64
+
* For [Dev Containers](https://aka.ms/vscode-remote/download/containers), use the **Dev Containers: Clone Repository in Container Volume...** command which creates a Docker volume for better disk I/O on macOS and Windows.
65
+
* If you already have VS Code and Docker installed, you can also click [here](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/vscode) to get started. This will cause VS Code to automatically install the Dev Containers extension if needed, clone the source code into a container volume, and spin up a dev container for use.
66
+
67
+
* For Codespaces, install the [GitHub Codespaces](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces) extension in VS Code, and use the **Codespaces: Create New Codespace** command.
66
68
67
69
Docker / the Codespace should have at least **4 Cores and 6 GB of RAM (8 GB recommended)** to run full build. See the [development container README](.devcontainer/README.md) for more information.
Copy file name to clipboardexpand all lines: SECURITY.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,13 @@ You should receive a response within 24 hours. If for some reason you do not, pl
18
18
19
19
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20
20
21
-
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22
-
* Full paths of source file(s) related to the manifestation of the issue
23
-
* The location of the affected source code (tag/branch/commit or direct URL)
24
-
* Any special configuration required to reproduce the issue
25
-
* Step-by-step instructions to reproduce the issue
26
-
* Proof-of-concept or exploit code (if possible)
27
-
* Impact of the issue, including how an attacker might exploit the issue
21
+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22
+
* Full paths of source file(s) related to the manifestation of the issue
23
+
* The location of the affected source code (tag/branch/commit or direct URL)
24
+
* Any special configuration required to reproduce the issue
25
+
* Step-by-step instructions to reproduce the issue
26
+
* Proof-of-concept or exploit code (if possible)
27
+
* Impact of the issue, including how an attacker might exploit the issue
28
28
29
29
This information will help us triage your report more quickly.
The file `JavaScript.tmLanguage.json` is derived from [TypeScriptReact.tmLanguage](https://github.com/microsoft/TypeScript-TmLanguage/blob/master/TypeScriptReact.tmLanguage).
2
2
3
3
To update to the latest version:
4
+
4
5
-`cd extensions/typescript` and run `npm run update-grammars`
5
6
- don't forget to run the integration tests at `./scripts/test-integration.sh`
0 commit comments