liamcain / AutoFileName

Sublime Text plugin that autocompletes filenames
515 stars 78 forks source link

Latest beta? #2

Closed Jayphen closed 12 years ago

Jayphen commented 12 years ago

Is this working in the latest beta? I can't seem to get it to trigger. Does it work inside SASS/HAML?

liamcain commented 12 years ago

What OS are you using?

Jayphen commented 12 years ago

Sorry, I'm using OS X

liamcain commented 12 years ago

hmmm. I'm using OSX on the latest beta as well. Try pressing control+space to activate. Because AutoFileName just integrates into the default autocomplete, it uses a couple of simple if statements to know when to trigger. First it checks that the previous character is / or . So if you have something like <a link="/[CURSOR HERE]"> </a>, it will activate on control space. That way there arent so many false positives if you are inside a string and don't want to see your filesystem. Let me know if that helps. If not, could you give me a sample of your code that you are trying to use it with? Just the current line will do, to get this straightened out in case it's a bug.

liamcain commented 12 years ago

Did you get it working?

Jayphen commented 12 years ago

Hey, yeah it did work after pressing ctrl + space, but it conflicts with my shortcut for Launchbar, which is why it wasn't working before. Thanks!