v0.17.16
v0.17.16
⚠️ Important changes to semantic highlighting
We realized that the server was returning an excessive number of semantic tokens back to editors. In large files, that resulted in a lot of lag. This version of the Ruby LSP takes two steps to improve the performance:
- We added support for semantic token delta requests, which return only the difference in tokens between document state changes
- We minimized the number of tokens returned to include only ambiguous syntax. Everything else is highlighted using the bundled Text Mate grammar
Please ensure that you are on the latest version of both extension and server. If you spot anything that isn't working properly, report an issue.
✨ Enhancements
- Add literal types to inferrer (#2468) by @vinistock
- Support semantic token deltas (#2478) by @vinistock
- Turn off semantic highlighting on files with more than 100k chars (#2481) by @vinistock
- Minimize semantic tokens returned for constants and method calls (#2479) by @vinistock
- Disable diagnostics on large files (#2483) by @vinistock
- Minimize semantic tokens returned for local variables (#2482) by @vinistock