Closed
Description
Mainly for quolified names
.
Semantic highlighting looks worse than syntax highlighting for quolified name.
- A Syntax highlighting easily support splitting the module part and the name part of a quolified name.
- Semantic token is not identifing them, since the
range
ofName
for quolified name include the module part and the name part as a whole.
Two steps to solve the problems.
- First add suppport for module names in the import section, it is easy since there is module name as identifier in hieAst Semantic tokens: add module name support and improve performance and accuracy by traversing the hieAst along with source code #3958
- split out the module part and name part, handles
(Prelude.+), `Data.List.elem`
Semantic tokens: add module name support and improve performance and accuracy by traversing the hieAst along with source code #3958