Home Download Buy Blog Forum Support

About tab completions

About tab completions

Postby dsarch on Fri Aug 26, 2011 11:38 am

Hello @jps,

I have been having lots of issues with tab completion, as it often does not complete what i want, eg:

I was working on a wordpress theme (btw, with all completions working great due to SublimeCodeIntel plugin, which rocks) and when editing a php block like this:

Code: Select all
<?php
    get_template_part('content', 'noticias_abas');
    get_template_part('content', 'busca');
    get_template_part('content', 'noticias');
?>


When i write 'get' and tap the "tab" key, i have the "getallheaders(oid)":

Code: Select all
<?php
    get_template_part('content', 'noticias_abas');
    get_template_part('content', 'busca');
    get_template_part('content', 'noticias');
   getallheaders(oid)
?>


Which i does not even know where it is coming from.

Is it possible to make tab only complete things from the current opened document ? Or even better, complete things only for the current open document but with an interface (box with the possible completions - like when pressing ctrl+space) ?

Otherwise, i have been loving the latest round of corrections and improvements in Sublime, im really happy for being a registered user and i have been spreading the word here in Brazil.

Also, why not make some stickers like the github ones (or something like that) - i really would buy some and put in my laptop (we are going to have a python conference in Brazil in september and i would buy some to spread there).

Thanks a lot !
dsarch
 
Posts: 62
Joined: Tue May 03, 2011 2:31 am

Re: About tab completions

Postby iamntz on Fri Aug 26, 2011 12:11 pm

I also have some tab-related issues.
However, i have a reverse issue: i only want to autocomplete from one sublime-completion file, not from current document. :D

[...] im really happy for being a registered user and i have been spreading the word here in Brazil.

Same here. Only that I'm from Romania.
I already converted like 5 friends to this awesome editor! :mrgreen:
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 19 guests