Open rtoy opened 9 years ago
I will think about it but I sort of like how the current autocompletion works. It resembles the behavior of my text editor (Sublime Text) and I believe this is acceptable. Surely we can implement the heuristic smarter, but the current autocompletion is quite enough for the most part and the smarter heuristic is not a small problem. :)
You mean completing createBuffer? In the dev console, pressing tab shows both createBuffer and createBufferSource. Only when I enter S and press tab does it complete to createBufferSource and pressing tab more times does nothing.
As we discussed, the behavior I'm looking for is what Chrome's dev console does with completion.
This is low priority for me.
The completion feature is really great, but it doesn't allow you to continue. For example, enter
context.createBu
Press tab. it completes it to createBuffer. Press tab again and a tab is inserted. I was actually expecting to be offered createBuffer and createBufferSource as my options. To get the completion now, I have to delete the tab and delete the 'r' and press tab again to get both choices again, enter "S" and then tab to finish it all out.
Bonus feature: After pressing tab (as above) to get the final unique completion, if I press tab again, insert "()". :-) That might be annoying, however, if you press tab lots of times.