-
Notifications
You must be signed in to change notification settings - Fork 125
Reset token type of meta.embedded scopes #54
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
Conversation
Fixes microsoft/vscode#34857 See microsoft/vscode#34857 for more details about this issue
src/main.ts
Outdated
| String = 2, | ||
| RegEx = 4 | ||
| RegEx = 4, | ||
| MetaEmbedded = 8 |
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.
No encoded tokens will ever be marked as MetaEmbeded. It's just used internally to reset the scope. Let me know if you can think of a better way to express this
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.
Yes, this is problematic because this enum makes it in the public module API
|
Hey @alexandrudima, can you please take a look at this PR and let me know if you have any feedback or alternate design suggestions |
|
Ping @alexandrudima. I'd really like to see if we can address microsoft/vscode#34857 for October |
|
The changes to use the internal enum type look good to me. Thanks for looking into this |
Fixes microsoft/vscode#34857
See microsoft/vscode#34857 for more details about this issue