Skip to content

✨ Semantic Highlights #1950

Closed
Closed

Description

@thecoolwinter

Description

Language servers can provide additional, detailed, highlights for code called 'semantic tokens'. These provide more contextual information about symbols. For instance, the different between a global constant and a constant variable.

These should work together with tree-sitter highlights to improve syntax highlighting clarity and quality.

Alternatives Considered

Not supporting semantic highlights 👎

Additional Context

This will be implemented in a few phases:

Related issues:

Screenshots

From VSCode's semantic highlight guide:

Without semantic highlights:
no-semantic-highlighting

With semantic highlights:
with-semantic-highlighting

Activity

  1. moved this from 🆕 New to 🏃‍♂️ In Progress in CodeEdit Projecton Dec 19, 2024
  2. added a commit that references this issue on May 9, 2025
    f2850b0
  3. moved this from 🏃‍♂️ In Progress to 🏁 Complete in CodeEdit Projecton May 9, 2025
  4. added a commit that references this issue on May 12, 2025
    d92d6c6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestlanguage serverIssues or Pull Requests related to language servers.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions