Home Download Buy Blog Forum Support

Autocomplete is usually wrong

Autocomplete is usually wrong

Postby Jarred on Sun Jan 01, 2012 8:20 pm

This is more of an issue (in my opinion) with the assumptions made when designing the autocomplete.

Image

There's a much higher chance that I want to do something with the variable directly above the current line, than define a method inside a method. I get that the autocomplete will look for words in the same document, snippets, and probably a few other items that are language-specific but it's very intrusive when it chooses the wrong thing (which is almost all the time).

Image
Please take inspiration from Intellisense. Even when Intellisense is wrong, it doesn't get in the way.


In order for an autocomplete to be useful it needs to be right most of the time and for when it's wrong it needs to be unintrusive.
Jarred
 
Posts: 4
Joined: Sun Jan 01, 2012 8:00 pm

Re: Autocomplete is usually wrong

Postby C0D312 on Sun Jan 01, 2012 10:08 pm

While I agree that recently-used variables should probably take precedence over random words scattered throughout the file, could I ask what exactly you find intrusive about the autocomplete? And what exactly prevents Intellisense's autocomplete from being intrusive?
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Autocomplete is usually wrong

Postby Jarred on Mon Jan 02, 2012 7:17 pm

I think my main issue with it is that when I hit enter to go to a new line it instead will do the autocomplete.

It also doesn't know the difference between methods and arguments (particularly in Ruby).
Jarred
 
Posts: 4
Joined: Sun Jan 01, 2012 8:00 pm

Re: Autocomplete is usually wrong

Postby C0D312 on Mon Jan 02, 2012 9:47 pm

BTW, you can download an SublimeCodeIntel, which brings intellisense to Sublime.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Autocomplete is usually wrong

Postby jps on Mon Jan 02, 2012 11:22 pm

Jarred wrote:I think my main issue with it is that when I hit enter to go to a new line it instead will do the autocomplete.

If you could post an example of where this is causing trouble, I'd be grateful. In general, if you're typing a word at the end of line, and it the word already exists in the file, it should be the top match when you press enter, and thus not insert the wrong thing. I'm currently trying to catalogue examples where it's causing frustration when pressing enter.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Autocomplete is usually wrong

Postby svenax on Tue Jan 03, 2012 10:13 am

jps wrote:
Jarred wrote:I think my main issue with it is that when I hit enter to go to a new line it instead will do the autocomplete.

If you could post an example of where this is causing trouble, I'd be grateful. In general, if you're typing a word at the end of line, and it the word already exists in the file, it should be the top match when you press enter, and thus not insert the wrong thing. I'm currently trying to catalogue examples where it's causing frustration when pressing enter.


For instance if you have a word that differs in case only in the completion list it may insert the wrong one when hitting return at the end of a line.
svenax
 
Posts: 155
Joined: Tue Dec 20, 2011 12:47 pm

Re: Autocomplete is usually wrong

Postby Jarred on Fri Jan 06, 2012 12:25 am

jps wrote:If you could post an example of where this is causing trouble, I'd be grateful. In general, if you're typing a word at the end of line, and it the word already exists in the file, it should be the top match when you press enter, and thus not insert the wrong thing. I'm currently trying to catalogue examples where it's causing frustration when pressing enter.


You fixed the main issue in Build 2158. Thank you, for your excellent support. Seriously -- you're awesome.

It isn't a powerful autocomplete, but it's now unintrusive. I'd rather it be unintrusive than powerful and intrusive.
Jarred
 
Posts: 4
Joined: Sun Jan 01, 2012 8:00 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 14 guests