atom-haskell-archive / autocomplete-haskell

Atom autocomplete-plus provider for haskell
https://atom.io/packages/autocomplete-haskell
MIT License
23 stars 1 forks source link

Words from comments go to the autocompletion list #8

Closed welf closed 8 years ago

welf commented 8 years ago

If I use a word in comments, it goes to the autocompletion list and creates an unnecessary noise in it. Is it possible not to parse comments and not to offer words from comments in autocompletion list?

func
lierdakil commented 8 years ago

This is what Autocomplete-plus' default SymbolProvider does. I could outright suppress it, but that would stop any suggestions from current file showing up. Which is not ideal. I'm not aware of any way to make SymbolProvider ignore some grammar spans (like comments). Note that you can disable default provider or blacklist it for certain scopes in autocomplete-plus settings.