I’m having issues with autocompletion in Sublime, and I want to check whether the problem is that I’m still stuck in a TextMate mindset or whether it’s actually an interface issue.
The problem is that autocomplete and snippet completion are both bound to but often conflict. As a simple example, in a Ruby document:
def<Tab>run
gives me the following code, with the cursor at the indicated point:
def run❚
end
Now, in most places in the document, hitting at the current cursor position would autocomplete run
to running_process
(assuming that phrase is the closest available match, which in this case it is). But because I’m still in “snippet mode”, the actually skips me to the method body:
def run
❚
end
There seems to be no way to choose indicate to Sublime that I want to use autocomplete at that point. In Textmate this wasn’t an issue because was reserved for snippets and was the autocomplete trigger - which makes sense to me, because two features which might be available at the same time shouldn’t share the same key.
Is there a way to change one of these triggers to a different key, or do I need to change how I’m thinking somehow?