Screencast: How do I use the AutoFileName plugin for Sublime Text?

Typing paths can be a big pain and that is why many IDE’s like Dreamweaver have a way to speed up the process. It is pretty standard in any Web Development editor and to be honest I was surprised that it wasn’t native to ST2. But I decided not to hold my breath and pout because of all the other awesome things ST2 offers.

So I figured some smart person created and plugin for this functionality and not surprising because of the huge following of ST2 in the world, someone did.

Here is a video on how to add and use this awesome little plugin:

Note: When I was doing this screencast I had to uninstall and re-install AutoFileName. Before this screencast AutoFileName was working great but once I uninstalled AutoFileName and reinstalled it, it was not working. I looked online to see if others were having the same problem. I found one person say to uninstall Zen Coding plugin for ST2. I did this and then installed AutoFileName and it worked great. I also added the code on the AutoFileName documentation page to the User Settings file in ST2 and it worked even better. I then added the ZenCoding plugin again and everything was working fine. So, what I am trying to caution you about is sometimes when you add a plugin there will occassionally be some side effects. The rule of thumb is not to panic or to curse the creator of ST2 (because he is super awesome) but to know that some sort of conflict occurred between plugins. Research online to see if others had a conflict. Check out this post. And if that doesn’t work, you’ll have to uninstall plugins to find out where the conflict is occurring. Yes, it can be a pain but it is also a great way to dig into Sublime and see how it works.