-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vscode] register grammars only when all languages are registered #6966
Conversation
@corneliusludmann Could you check please whether it resolves the issue for you? |
Unfortunately not. I opened this branch in Gitpod, Latest lines of the log:
Let me know if you need more info … |
@corneliusludmann please try again, I've updated markdown extension before and thought it is irrelevant, but it turned out that a fix and upgrade are required |
Still no luck with text rendering. I even did a hard reload of the tab … This is the proper markdown plugin version, @akosyakov? Just to make sure I have the latest changes running … |
yes, strange, looking again |
|
578d7ec
to
e92f3b6
Compare
e92f3b6
to
7870338
Compare
@AlexTugarev still debugging, now it is reproducible always on fresh start and after reload |
vscode textmate tokenization indexes all kind of colors, but monaco textmate tokenization normalizes them to 6 place based hex form, so it works till a user is using normalized form in json files, if not coloring is broken... preparing a commit to normalize colors before passing to vscode textmate |
vscode textmate tokenization indexes all kind of colors, but monaco textmate tokenization normalizes them to 6 place based hex form, so it works till a user is using normalized form in json files, if not coloring is broken Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
vscode textmate tokenization indexes all kind of colors, but monaco textmate tokenization normalizes them to 6 place based hex form, so it works till a user is using normalized form in json files, if not coloring is broken Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
a63c1bb
to
2330d25
Compare
vscode textmate tokenization indexes all kind of colors, but monaco textmate tokenization normalizes them to 6 place based hex form, so it works till a user is using normalized form in json files, if not coloring is broken Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
2330d25
to
3c3f619
Compare
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
vscode textmate tokenization indexes all kind of colors, but monaco textmate tokenization normalizes them to 6 place based hex form, so it works till a user is using normalized form in json files, if not coloring is broken Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
3c3f619
to
511a6e1
Compare
@corneliusludmann @AlexTugarev could you try again? |
…istered otherwise not yet registered languages are not considered as embedded languages for grammars Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
vscode textmate tokenization indexes all kind of colors, but monaco textmate tokenization normalizes them to 6 place based hex form, so it works till a user is using normalized form in json files, if not coloring is broken Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
511a6e1
to
1783dab
Compare
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
1783dab
to
e7c71e1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I've tested with light theme and couldn't see any of the known issues. 👍
vscode textmate tokenization indexes all kind of colors, but monaco textmate tokenization normalizes them to 6 place based hex form, so it works till a user is using normalized form in json files, if not coloring is broken Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
vscode textmate tokenization indexes all kind of colors, but monaco textmate tokenization normalizes them to 6 place based hex form, so it works till a user is using normalized form in json files, if not coloring is broken Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
vscode textmate tokenization indexes all kind of colors, but monaco textmate tokenization normalizes them to 6 place based hex form, so it works till a user is using normalized form in json files, if not coloring is broken Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
What it does
Developer: Inspect Tokens
monaco command does not work #6327:Developer: Inspect tokens
command can be used to find out current TM scopes for a token at the cursor positionHow to test
Developer: Inspect Tokens
command to see TM token metadata.shell
language.Review checklist
Reminder for reviewers