Skip to content

Autocomplete uses comment text #4100

Closed
Closed
@NeilFraser

Description

@NeilFraser

Autocomplete uses variables, keywords, and snippets to populate the list. However, it also uses the text from comments.

To recreate:

// Jabberwocky
  • On a new line, type J

Expected result: A list that does not include 'Jabberwocky'.

Actual result: A list that starts with 'Jabberwocky'.

This issue is a problem on a large file, since there may be hundreds of English words in the comments. The resulting spam makes autocomplete basically unusable. For instance autocomplete in my program has "item, Item, items, Items", but only one of those is an actual variable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions