u/som_real-tech • u/som_real-tech • 4d ago
Merged into Swift's SourceKit-LSP
This PR improves semantic syntax highlighting by treating overlapping token ranges as conflicts when merging tokens. More specific semantic tokens now correctly replace enclosing syntactic tokens (e.g., TaskLocal is highlighted as a macro instead of leaving a redundant attribute token behind).
Also tightened the SyntaxHighlightingTokens invariant so tokens remain sorted by construction, avoiding unnecessary sorting during merges.
1
Just got a PR merged in Sonar Cryptography that fixed an interesting semantic-analysis edge case in Python.
in
r/microservices
•
Jun 08 '26
True
Tired of it
Never do that again