Skip to content
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

Support semantic coloring #239

Closed
SPGoding opened this issue Jan 2, 2020 · 1 comment
Closed

Support semantic coloring #239

SPGoding opened this issue Jan 2, 2020 · 1 comment
Assignees
Labels
📝 documentation Improvements or additions to documentation ✨ feature New feature or request ♻ refactor Refactor code *released The changes has been released 💄 UI

Comments

@SPGoding
Copy link
Member

SPGoding commented Jan 2, 2020

Sample: https://github.com/microsoft/vscode-extension-samples/tree/master/semantic-tokens-sample
Wiki: https://github.com/microsoft/vscode/wiki/Semantic-Highlighting-Overview

See #308 for an updated document.

Token Types

Standard

  • function: function namespaced IDs.
  • namespace: general namespaced IDs.
  • keyword: literal arguments, special meaning characters (e.g. true, ~ and ..).
  • operator: operating or comparison characters (e.g. +=, ><, and matches).
  • comment
  • string
  • number
  • property: keys of maps.
  • parameter: entity selectors and score holders.
  • variable: objectives, teams, and tags.
  • type: objective criteria, item slots, and scoreboard display slots.

Custom

  • annotation: for annotations in doc comments.
  • vector: for vectors (e.g. block coordinates, rotation).

Token Modifiers

Standard

  • declaration: for ranges writing to the def element of cache.
  • deprecated: for
    namespaced IDs of deprecated functions.
  • documentation: for documentation block comments.

Custom

  • firstArgument: the first argument in the command.
@SPGoding SPGoding added ✨ feature New feature or request 🔷 lsp-related labels Jan 2, 2020
@SPGoding SPGoding self-assigned this Jan 2, 2020
@SPGoding SPGoding changed the title Prepare for semantic highlighting Add process of tokenizing Jan 2, 2020
@SPGoding SPGoding added the ♻ refactor Refactor code label Jan 2, 2020
@SPGoding SPGoding added this to the Release 1.12.0 milestone Jan 10, 2020
@SPGoding SPGoding mentioned this issue Jan 17, 2020
16 tasks
@SPGoding SPGoding changed the title Add process of tokenizing Support semantic coloring Jan 24, 2020
@SPGoding SPGoding added 💄 UI 📝 documentation Improvements or additions to documentation labels Jan 24, 2020
SPGoding added a commit that referenced this issue Jan 27, 2020
@SPGoding
Copy link
Member Author

🎉 This issue has been resolved in version 1.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@SPGoding SPGoding added the *released The changes has been released label Feb 18, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Mar 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
📝 documentation Improvements or additions to documentation ✨ feature New feature or request ♻ refactor Refactor code *released The changes has been released 💄 UI
Projects
None yet
Development

No branches or pull requests

1 participant