Home Download Buy Blog Forum Support

how works auto complete

how works auto complete

Postby clem on Tue Oct 04, 2011 8:11 am

Hi,
I'm a new sublime text user on Mac OSX. i used komodo before.
i'm about to buy it but i still have some doubt.

I can't figure it out how works auto complete ?
When i start to write a php function no windows appears, and keyboards shortcuts doesn't work.
You'll maybe think i'm lazy but go to menu 'edit > auto complete' with mouse each time is boring.

I can't find out any solutions on forum, so here is my questions :

1) How can i change the shortcuts ? cause i think ^+space is protected on Mac,

2) Is that a way to have an automatic auto complete ? i mean start to write 'exp' then window appears and offer suggestions like 'explode' :D

Thanks
clem
 
Posts: 2
Joined: Tue Oct 04, 2011 7:57 am

Re: how works auto complete

Postby andyjeffries on Tue Oct 04, 2011 8:18 am

1) Under Sublime Text 2 | Preferences there are two options for Key Bindings. If you open the "Key Bindings - Default" one and search for "ctrl+space", you can copy that line and paste it in to the "Key Bindings - User" preferences options (it's in JSON format) you can change "ctrl+space" to be a key of your choosing (look in "Key Bindings - Default" for some other examples of key combinations to get a feel for it).

2) No idea, sorry.
andyjeffries
 
Posts: 30
Joined: Tue Sep 27, 2011 9:36 am

Re: how works auto complete

Postby clem on Tue Oct 04, 2011 9:53 am

thanks andy,

i could change auto complete shortcut and it's working well !!
clem
 
Posts: 2
Joined: Tue Oct 04, 2011 7:57 am

Re: how works auto complete

Postby pmdf on Tue Oct 04, 2011 1:36 pm

If you prefer, you could also use the SublimeCodeIntel package so that autocomplete options appear automatically as you type.
pmdf
 
Posts: 1
Joined: Tue Oct 04, 2011 1:34 pm


Return to General Discussion

Who is online

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