-
Notifications
You must be signed in to change notification settings - Fork 9
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
Semantic tokenizer improvements: tests, simplification, syntax-in-syntax bugfix #497
Conversation
…-tests Add semantic tokenizer tests
…-refactor-collector Simplify class `TokenCollector` to avoid two versions of maximal token logic
…ll2024-collector-modes
…nd make corresponding changes in the Java part)
rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp/util/SemanticTokenizerTester.java
Outdated
Show resolved
Hide resolved
…-legacy-highlighting Add special-case-highlighting parameter to parsing service
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.
Looks good, a few small things I noticed.
...-lsp/src/main/java/org/rascalmpl/vscode/lsp/parametric/LanguageContributionsMultiplexer.java
Outdated
Show resolved
Hide resolved
rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp/util/SemanticTokenizerTester.java
Outdated
Show resolved
Hide resolved
rascal-lsp/src/main/rascal/lang/rascal/tests/semanticTokenizer/Util.rsc
Outdated
Show resolved
Hide resolved
Quality Gate failedFailed conditions |
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 also checked with @jurgenvinju and he also approves of the change to the parsing
constructor.
This PR:
syntax
tree (with category) hassyntax
children #456.Before this PR:
After this PR:
See this history for details:
TokenCollector
to avoid two versions of maximal token logic #500Add token collector modes #501(replaced by #502)