Skip to content

Commit 019fe3c

Browse files
committed
docs(contributing): update updating vscode
1 parent 9ea1863 commit 019fe3c

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

docs/CONTRIBUTING.md

+19-14
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
33
# Contributing
44

5-
- [Pull Requests](#pull-requests)
6-
- [Requirements](#requirements)
7-
- [Development Workflow](#development-workflow)
8-
- [Updating VS Code](#updating-vs-code)
9-
- [Build](#build)
10-
- [Structure](#structure)
11-
- [Modifications to VS Code](#modifications-to-vs-code)
12-
- [Currently Known Issues](#currently-known-issues)
5+
- [Contributing](#contributing)
6+
- [Pull Requests](#pull-requests)
7+
- [Requirements](#requirements)
8+
- [Development Workflow](#development-workflow)
9+
- [Updating VS Code](#updating-vs-code)
10+
- [Notes about Changes](#notes-about-changes)
11+
- [Build](#build)
12+
- [Structure](#structure)
13+
- [Modifications to VS Code](#modifications-to-vs-code)
14+
- [Currently Known Issues](#currently-known-issues)
1315

1416
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
1517

@@ -59,14 +61,17 @@ To develop inside an isolated Docker container:
5961

6062
### Updating VS Code
6163

62-
If you need to update VS Code, you can update the subtree with one line. Here's an example using the version 1.52:
64+
To update VS Code, follow these steps:
65+
1. Run `yarn update:vscode`.
66+
2. Enter a version. Ex. 1.53
67+
3. This will open a draft PR for you.
68+
4. There will be merge conflicts. First commit them.
69+
1. We do this because if we don't, it will be impossible to review your PR.
70+
5. Once they're all fixed, test code-server locally and make sure it all works.
6371

64-
```shell
65-
# Add vscode as a new remote if you haven't already and fetch
66-
git remote add -f vscode https://github.com/microsoft/vscode.git
72+
#### Notes about Changes
6773

68-
git subtree pull --prefix lib/vscode vscode release/1.52 --squash --message "Update VS Code to 1.52"
69-
```
74+
- watch out for updates to `lib/vscode/src/vs/code/browser/workbench/workbench.html`. You may need to make changes to `src/browser/pages/vscode.html`
7075

7176
## Build
7277

0 commit comments

Comments
 (0)