Home Download Buy Blog Forum Support

ST3 dev and Mac

ST3 dev and Mac

Postby emartel on Thu Jul 25, 2013 2:09 pm

Hi guys,

As some of you might know, I developed a few plugins last year for ST2 (Perforce, Search Anywhere/Stackoverflow, CSV), and I just got my first Mac and to be honest I'm a bit lost with the environment.

I'm now working on a Laravel plugin, so using ST3's Sublime Text > Preferences > Browse Package I was able to find out where the Packages are supposed to be stored. I started developing in ~/Library/Application Support/Sublime Text 3/Packages/User/theplugin/theplugin.py. It worked at first, but now I keep getting Unable to save file when modifying my script...

I am unable to browse to ~/Library/Application Support/Sublime Text 3 unless I open it from ST3... maybe there's something wrong with my system? I'm a total newbie with Macs, so if somebody could tell me what I did wrong (you're allowed to laugh if its something stupid :P), it would be greatly appreciated!

Thank you
emartel
 
Posts: 23
Joined: Thu Feb 23, 2012 8:59 pm
Location: Montreal, Canada

Re: ST3 dev and Mac

Postby adzenith on Thu Jul 25, 2013 2:42 pm

In newer versions of OS X, the Library folder is hidden by default.
Solutions:
• in the Finder, open the Go menu, and then hold the Option key.
• in the Finder, choose Go > Go to Folder... (or Cmd+Shift+G) and type in ~/Library.
• In the Terminal, run 'chflags nohidden ~/Library'
• In the Terminal, run 'defaults write com.apple.Finder AppleShowAllFiles YES'
• Install Secrets (click the PrefPane link at the top), open it, and check the box for "Show hidden files"

My favorite method is the last one, just because Secrets has a lot of cool things in it.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: ST3 dev and Mac

Postby emartel on Thu Jul 25, 2013 7:05 pm

This is much appreciated sir! I'll test it out tonight on the bus home!
emartel
 
Posts: 23
Joined: Thu Feb 23, 2012 8:59 pm
Location: Montreal, Canada


Return to Plugin Development

Who is online

Users browsing this forum: Google [Bot] and 14 guests