Repository navigation
Add local Monaco playground - #249616
Closed
Remco Haszing (remcohaszing) wants to merge 1 commit into
Closed
Add local Monaco playground#249616Remco Haszing (remcohaszing) wants to merge 1 commit into
Remco Haszing (remcohaszing) wants to merge 1 commit into
Conversation
Remco Haszing (remcohaszing)
added a commit
to remcohaszing/vscode
that referenced
this pull request
May 28, 2025
Monaco Editor uses some static properties that reference the class they are defined in. This is equivalent to `this`. Monaco Editor also uses decorators. TypeScript compiles this in a way that works (with some small boilerplate code). In Vite however, this compiles to broken code. This change replaces self-references via in static properties via their identifier with `this`. The changes were cherry-picked from microsoft#249616.
Remco Haszing (remcohaszing)
force-pushed
the
monaco-local-playground
branch
2 times, most recently
from
July 11, 2025 14:31
c84ab2b to
ae8556b
Compare
Remco Haszing (remcohaszing)
force-pushed
the
monaco-local-playground
branch
from
July 15, 2025 11:49
ae8556b to
690ceaa
Compare
Remco Haszing (remcohaszing)
force-pushed
the
monaco-local-playground
branch
from
July 25, 2025 07:12
690ceaa to
fe3de30
Compare
Remco Haszing (remcohaszing)
force-pushed
the
monaco-local-playground
branch
from
August 8, 2025 08:45
fe3de30 to
3064ddd
Compare
This adds a small playground which renders Monaco editor. This is useful for local development. To start it, run: ```sh npx vite playground ```
Remco Haszing (remcohaszing)
force-pushed
the
monaco-local-playground
branch
from
August 22, 2025 06:49
3064ddd to
ba3bd05
Compare
Henning Dieterichs (hediet)
pushed a commit
to remcohaszing/vscode
that referenced
this pull request
Sep 2, 2025
Monaco Editor uses some static properties that reference the class they are defined in. This is equivalent to `this`. Monaco Editor also uses decorators. TypeScript compiles this in a way that works (with some small boilerplate code). In Vite however, this compiles to broken code. This change replaces self-references via in static properties via their identifier with `this`. The changes were cherry-picked from microsoft#249616.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a small playground which renders Monaco editor. This is useful for local development, but I also understand if this is not the exact route the VSCode team wants to take with this.
To start it, run:
Feel free to accept / reject / cherry-pick changes from this.
cc Henning Dieterichs (@hediet)