haskell / haskell/haskell-language-server

Don't generate completion when cursor is in a comment

Open
#4,673 3 comments 4 reactions 0 assignees View on GitHub
component: ghcide type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

## Is your enhancement request related to a problem? Please describe.

Nil language server has recently gained the ability to not publish completion when typing inside a comment. This made me realized it is possible, and I would like to see it in HLS as well :)

## Describe the solution you'd like

Have the LSP publish completions only when the cursor is not in a comment.

## Describe alternatives you've considered

## Additional context

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.