-
-
Notifications
You must be signed in to change notification settings - Fork 400
Open
Labels
component: hls-code-range-pluginfor code range related functionalities, such as selection range and folding rangefor code range related functionalities, such as selection range and folding rangetype: enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
@kokobd had pointed this out. When you expand selection(using shift+alt+right arrow
) from within a comment, expand selection does not work on comments.
Describe the solution you'd like
It is because comments are not included in HieAST, which we use for constructing ranges in the hls-selection-range-plugin
. Annotated ParsedSource
can be used to handle structures not in HieAST
properly.
More information about it --> https://gitlab.haskell.org/ghc/ghc/-/wikis/api-annotations#comments
cc: @kokobd
Metadata
Metadata
Assignees
Labels
component: hls-code-range-pluginfor code range related functionalities, such as selection range and folding rangefor code range related functionalities, such as selection range and folding rangetype: enhancementNew feature or requestNew feature or request