This adds an example semantic tokens server, replacing the existing half implementation we have in the json_server.py example. That said, it's still only semantic tokens "level one" - there is still the range based method and delta updates to consider! :sweat_smile:
Unlike most other methods semantic tokens are quite obtuse, for example, here is the result the server sent when highlighting the code in the above screenshot
Description (e.g. "Related to ...", etc.)
This adds an example semantic tokens server, replacing the existing half implementation we have in the
json_server.py
example. That said, it's still only semantic tokens "level one" - there is still the range based method and delta updates to consider! :sweat_smile:Unlike most other methods semantic tokens are quite obtuse, for example, here is the result the server sent when highlighting the code in the above screenshot
So this PR also includes an accompanying how to guide containing some interactive demos that (hopefully!) help explain what's going on
Code review checklist (for code reviewer to complete)
Automated linters
You can run the lints that are run on CI locally with: