@@ -81,7 +81,7 @@ data collected to improve code-server.
8181``` shell
8282git clone https://github.com/microsoft/vscode
8383cd vscode
84- git checkout 1.37.0
84+ git checkout < see travis.yml for the VS Code version to use here >
8585git clone https://github.com/cdr/code-server src/vs/server
8686cd src/vs/server
8787yarn patch:apply
@@ -98,30 +98,28 @@ If you run into issues about a different version of Node being used, try running
9898` vscode-ripgrep ` .
9999
100100### 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.
105105
106106To generate a new patch, ** stage all the changes** you want to be included in
107107the patch in the VS Code source, then run ` yarn patch:generate ` in this
108108directory.
109109
110110Our changes include:
111- - Add a ` code-server ` schema .
111+ - Change the remote schema to ` code-server ` .
112112- Allow multiple extension directories (both user and built-in).
113113- Modify the loader, websocket, webview, service worker, and asset requests to
114114 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.
120121- Make it possible for us to load code on the client.
121122- 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.
125123
126124## License
127125[ MIT] ( LICENSE )
0 commit comments