Home Download Buy Blog Forum Support

I still don't get some of the bizarre autocompletes

I still don't get some of the bizarre autocompletes

Postby handycam on Wed Jun 20, 2012 2:14 pm

Like this, just why?

Screen Shot 2012-06-20 at 9.59.21 AM.jpg
Screen Shot 2012-06-20 at 9.59.21 AM.jpg (53.36 KiB) Viewed 1681 times


Bad enough every word in all my open documents are suggested before the obvious tag/attribute suggestion, but this one is extreme.
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm

Re: I still don't get some of the bizarre autocompletes

Postby jps on Wed Jun 20, 2012 3:15 pm

This is caused by a plugin, it's not the default behavior
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: I still don't get some of the bizarre autocompletes

Postby handycam on Wed Jun 20, 2012 5:57 pm

jps wrote:This is caused by a plugin, it's not the default behavior


OK, I have removed all my plugins and themes (except for a couple of plugins I need). It seems to have cleared up, for now. Note, however, that when I re-launched Sublime, it hung and the crashed with the attached...
Attachments
crash log.txt.zip
(12.83 KiB) Downloaded 75 times
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm

Re: I still don't get some of the bizarre autocompletes

Postby handycam on Thu Jun 21, 2012 12:20 pm

Then what about completions like these, which are using words and phrases from my document?

Screen Shot 2012-06-21 at 8.04.00 AM.jpg
Screen Shot 2012-06-21 at 8.04.00 AM.jpg (24.39 KiB) Viewed 1526 times


How can I set it to ONLY use language syntax for suggestions, NOT any dictionary words or numbers in my doc? This is the one last frustrating thing about using ST2.
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm

Re: I still don't get some of the bizarre autocompletes

Postby jps on Thu Jun 21, 2012 1:38 pm

The completions in that second screenshot will also not be suggested by a vanilla install of Sublime Text. You may want to consider http://www.sublimetext.com/docs/2/revert.html
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: I still don't get some of the bizarre autocompletes

Postby ninjaroll on Thu Jun 21, 2012 10:38 pm

This bugs the heck out of me too. I wish there was a global setting to not include this noise. I posted about this exact same thing here:
viewtopic.php?f=3&t=7351
ninjaroll
 
Posts: 31
Joined: Tue Jan 03, 2012 7:10 pm

Re: I still don't get some of the bizarre autocompletes

Postby C0D312 on Thu Jun 21, 2012 10:57 pm

@handycam. I'm 90% sure those are zencoding bugs.

@ninjaroll
Code: Select all
import sublime, sublime_plugin

class InhibitWordsListener(sublime_plugin.EventListener):
   def on_query_completions(self, view, prefix, locations):
      return ([], sublime.INHIBIT_WORD_COMPLETIONS | sublime.INHIBIT_EXPLICIT_COMPLETIONS)


Save that to your User Folder. This will disable the default completions so only plugin completions will show.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: I still don't get some of the bizarre autocompletes

Postby handycam on Fri Jun 22, 2012 12:29 pm

I have re-set Sublime Text 2 and will not be installing Zencoding if it is so buggy. Much as I love the convenience of Zencoding, I cannot stand these random bogus autocompletes clogging up the menu. Kinda defeats the purpose of autocomplete and negates the convenience of using zencoding.
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm


Return to General Discussion

Who is online

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