Open
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