top | item 31222530

(no title)

sk1pper | 3 years ago

Autocomplete usually drives me crazy in IDEs - often it covers up nearby code that’s relevant to what I’m currently typing, so I end up hitting ESC all the time just to get it to go away. I guess you don’t have that problem here if the popup is always below your cursor, since there’s never really anything below your cursor in a terminal when you’re entering commands.

But also autocomplete often suggests the wrong thing but I’m typing too quickly to notice, and then I hit enter and get the wrong thing filled in.

What I want is just non-automatic completion - which we already have. Ctrl+R gives me exactly what I need when trying to find some odd command I ran last week. Add in fzf integration and it’s perfect. Tab completion covers everything else. When I don’t want completion, it stays out of the way. In an IDE, you can usually bind completion suggestions to Ctrl+Space or something and then turn off automatic suggestions, or something like that.

Maybe you can set up this tool that way too - then it might be nice to try out. But as I mentioned generally I find the terminal to be pretty ergonomic already for completion stuff.

discuss

order

EugeneOZ|3 years ago

What IDE has such dumb autocomplete?

c-fe|3 years ago

VSCode - at least the described issues perfectly describe my experience with VSCode autocomplete.

moffkalast|3 years ago

Most all of them?

Eclipse, Netbeans, Visual Studio, Monodevelop, VSCode, would be the ones I can recall from the top of my head.