Home Download Buy Blog Forum Support

Dev Build 2152

Dev Build 2152

Postby jps on Thu Dec 22, 2011 10:43 am

Dev Build 2152 is out now, with several auto complete tweaks.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2152

Postby eshwar on Thu Dec 22, 2011 11:03 am

Sublime 2 Build 2152 is super awesome with all its auto complete features. Its getting more and more powerful with every frequent releases.... :D
eshwar
 
Posts: 1
Joined: Thu Dec 22, 2011 11:00 am

Re: Dev Build 2152

Postby luislavena on Thu Dec 22, 2011 11:09 am

Hello,

I've installed 2151 and found a bit annoying the autocomplete (using Ruby) so turned off. Now with 2152 and autocomplete off, doing "do(tab)" to get the usual "do |variable| ... end" snippet, it no longer works.

Now I need to enable autocomplete for it, but the dropdown of autocomplete gets a bit noisy when you actually know what you're doing and don't want autocompletion.

Also seems that the snippet changes from "do" as trigger to "dob", which could be what I'm seeing.

Perhaps "do" can be mapped to "do ... end" (with no variable)?

Thank you
luislavena
 
Posts: 25
Joined: Fri Jun 04, 2010 7:15 pm

Re: Dev Build 2152

Postby jps on Thu Dec 22, 2011 11:18 am

luislavena: the trigger for that snippet has changed from do to dob, which explains what you're seeing.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2152

Postby quarnster on Thu Dec 22, 2011 11:22 am

API: on_query_completions results may have tabs embedded in their descriptions, to deliminate help text

Nice! I used this to deliminate the function description and it's return type, but it's a bit problematic with long function names:
return.png
return.png (40.22 KiB) Viewed 2325 times


And then there's the problem with wide functions in general:
long_functions.png
Long functions
long_functions.png (69.09 KiB) Viewed 2338 times
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Re: Dev Build 2152

Postby jps on Thu Dec 22, 2011 11:34 am

quarnster: I'll take a look at it
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2152

Postby CaptainCrowbar on Thu Dec 22, 2011 11:43 am

I only just noticed this, I don't know which update it actually changed in, but is there a reason why the recent file list no longer includes folders? If it was intentional and not a bug, can we have it back please?
CaptainCrowbar
 
Posts: 24
Joined: Tue Aug 02, 2011 4:31 am

Re: Dev Build 2152

Postby C0D312 on Thu Dec 22, 2011 1:30 pm

Hmmm... The lastest update broke my plugin. Ironically, I believe it's from something that I requested:
Auto complete: Popup will be hidden if the word is erased


My plugin triggers autocomplete on period. In the lastest update, the autocomplete box disappears instantly. My only guess as to why is because ST2 looks at the previous character, sees it's a period and closes the autocomplete.


Also, there's a bug when typing on the last line with scroll_past_end turned off. Autocomplete pops up in the middle of the screen.


Other than that, the lastest version is fantastic. Thanks for all your hard work.

EDIT: In the meantime, I fixed this issue by adding an underscore to all my autocompletions and changing my plugin to insert
Code: Select all
._
instead of just period
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Dev Build 2152

Postby weslly on Thu Dec 22, 2011 2:03 pm

looks like the auto completion height bug was fixed in this build, great!
weslly
 
Posts: 202
Joined: Sun Aug 28, 2011 3:57 am
Location: Brazil

Re: Dev Build 2152

Postby riffito on Thu Dec 22, 2011 3:26 pm

weslly wrote:looks like the auto completion height bug was fixed in this build, great!


Almost :-)
It is not if you invoke the auto completion by hitting CTRL+SPACE and the proposal list is long enough (dropdown popup still goes outside the screen in that case).
riffito
 
Posts: 17
Joined: Wed Dec 21, 2011 2:30 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 29 guests