Skip to content

support module name and split out module name in qualified name #3957

Closed
@soulomoon

Description

@soulomoon

Mainly for quolified names.
Semantic highlighting looks worse than syntax highlighting for quolified name.

  1. A Syntax highlighting easily support splitting the module part and the name part of a quolified name.
  2. Semantic token is not identifing them, since the range of Name for quolified name include the module part and the name part as a whole.

Two steps to solve the problems.

  1. 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
  2. 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions