mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-19 06:01:21 +08:00
0a4d30ae22
* spelling: microsoft Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: the Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * [ci]Upgrade check-spelling to v0.0.22 --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> |
||
---|---|---|
.. | ||
readme.md |
Developer Preview (Monaco)
Developer preview is based on Microsoft's Monaco Editor which is maintained by the Visual Studio Code team.
Update monaco editor
- Download Monaco editor with npm:
npm i monaco-editor
. - Delete everything except the
min
folder (the minimised code). - Copy the
min
folder inside themonacoSRC
folder. - Generate the JSON file (see section below)
monaco_languages.json
monaco_languages.json
contains all extensions and Id's for the supported languages of Monaco. The FileHandler
class and the installer are using this file.
Generate monaco_languages.json file
After you updated monaco editor or adding a new language you should update the monaco_languages.json
file.
You have to run the file on a local webserver!
- Build monaco in debug mode.
- Open generateLanguagesJson.html in a browser.
- Replace the old JSON file.