Closed
Description
Autocomplete uses variables, keywords, and snippets to populate the list. However, it also uses the text from comments.
To recreate:
- go to https://ace.c9.io/build/kitchen-sink.html
- tick the "Live Autocompletion" option.
- Enter the following code:
// 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.