@@ -81,7 +81,7 @@ data collected to improve code-server.
81
81
``` shell
82
82
git clone https://github.com/microsoft/vscode
83
83
cd vscode
84
- git checkout 1.37.0
84
+ git checkout < see travis.yml for the VS Code version to use here >
85
85
git clone https://github.com/cdr/code-server src/vs/server
86
86
cd src/vs/server
87
87
yarn patch:apply
@@ -98,30 +98,28 @@ If you run into issues about a different version of Node being used, try running
98
98
` vscode-ripgrep ` .
99
99
100
100
### Upgrading VS Code
101
- We have to patch VS Code to provide and fix some functionality. As the web
102
- portion of VS Code matures, we'll be able to shrink and maybe even entirely
103
- eliminate our patch. In the meantime, however, upgrading the VS Code version
104
- requires ensuring that the patch still applies and has the intended effects.
101
+ We patch VS Code to provide and fix some functionality. As the web portion of VS
102
+ Code matures, we'll be able to shrink and maybe even entirely eliminate our
103
+ patch. In the meantime, however, upgrading the VS Code version requires ensuring
104
+ that the patch still applies and has the intended effects.
105
105
106
106
To generate a new patch, ** stage all the changes** you want to be included in
107
107
the patch in the VS Code source, then run ` yarn patch:generate ` in this
108
108
directory.
109
109
110
110
Our changes include:
111
- - Add a ` code-server ` schema .
111
+ - Change the remote schema to ` code-server ` .
112
112
- Allow multiple extension directories (both user and built-in).
113
113
- Modify the loader, websocket, webview, service worker, and asset requests to
114
114
use the URL of the page as a base (and TLS if necessary for the websocket).
115
- - Send client-side telemetry through the server.
116
- - Add a file prefix to ignore for temporary files created during upload.
117
- - Insert our upload service for use in editor windows and explorer.
118
- - Modify the log level to get its initial setting from the server.
119
- - Change a regular expression used for mnemonics so it works on Firefox.
115
+ - Send client-side telemetry through the server and get the initial log level
116
+ from the server.
117
+ - Add an upload service for use in editor windows and the explorer along with a
118
+ file prefix to ignore for temporary files created during upload.
119
+ - Make changing the display language work.
120
+ - Make hiding or toggling the menu bar possible.
120
121
- Make it possible for us to load code on the client.
121
122
- Modify the build process to include our code.
122
- - Fix a CSP issue within webviews.
123
- - Fix an issue displaying extension contributions.
124
- - Make changing the display language work.
125
123
126
124
## License
127
125
[ MIT] ( LICENSE )
0 commit comments