Home Download Buy Blog Forum Support

Sublime Text X 20100924

Re: Sublime Text X 20100924

Postby jps on Sat Sep 25, 2010 1:19 pm

oxman: You can open the quick panel via File/Select Buffer
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text X 20100924

Postby oxman on Sat Sep 25, 2010 6:35 pm

Ok thanks :)
oxman
 
Posts: 66
Joined: Sun Aug 29, 2010 10:00 am

Re: Sublime Text X 20100924

Postby willi297 on Sat Sep 25, 2010 6:49 pm

I created an alias to launch sublime X from bash on OSX, and it seems to try to open the file, but always complains that is can't open the file format.

BTW, I was looking for where session information is stored along with packages, but can't seem to find anything. I would assume they would go into ~/.sublimetextx or something similar? That is what most other editors/apps do configuration data on unixy systems.

Overall though, things are looking good. Glad to see the start of the QuickPanel! ;)
Greg Williams
Atomic Embedded, USA
http://atomicembedded.com
willi297
 
Posts: 121
Joined: Wed Nov 18, 2009 8:29 pm
Location: Grand Rapids, MI, USA

Re: Sublime Text X 20100924

Postby corelon on Sat Sep 25, 2010 8:09 pm

The dot files are common on Linux/Unix. Although MacOSX is indeed a Unix system underneath, configuration files are usually stored somewhere in ~/Library or ~/Library/Application Data. That is for user settings. For all users you would follow /Library or /Library/Application Data. It is similar but still different enough. For unix application ports the normal "dot" files are used (i.e. vim, emacs etc.), so in reality it is a mixture of both.

My 2 cents,

Nick

P.S. Please fix the problem on linux. :)
corelon
 
Posts: 41
Joined: Mon Feb 16, 2009 2:16 pm

Re: Sublime Text X 20100924

Postby jps on Sat Sep 25, 2010 11:08 pm

Greg: Can you show me the alias you're using?

An Nick mentioned, data on OS X is stored in ~/Library/Application Support/Sublime Text X, while on Linux it's stored in ~/.Sublime Text X
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text X 20100924

Postby willi297 on Sun Sep 26, 2010 2:42 pm

Thanks for the help on the data location guys.

My alias (on OSX) is:
Code: Select all
alias slt='open -a "Sublime Text X"'
Greg Williams
Atomic Embedded, USA
http://atomicembedded.com
willi297
 
Posts: 121
Joined: Wed Nov 18, 2009 8:29 pm
Location: Grand Rapids, MI, USA

Re: Sublime Text X 20100924

Postby corelon on Sun Sep 26, 2010 5:50 pm

Hello again.

I see that in ~/Library/Application Support/Sublime Text X/Packages/Default/Options there are the following files:

Default File Type.sublime-options
Linux File Type.sublime-options
MacOSX File Type.sublime-options

In the first file it is mentioned that the user should create the file User File Type.sublime-options to override the default values (which is the default behavior until SublimeText 1.4)
I tried that on MacOSX but it does not seem to override the values in MacOSX File Type.sublime-options (i.e. in its current state only the font)
Jon, should this be that way? Meaning that the same way that Default File Type.sublime-options will be ovewritten in a software update, I guess that the same will happen for the OS specific ones. So changing the options on the Mac specific options file will be valid until the next update.

Regards,

Nick
corelon
 
Posts: 41
Joined: Mon Feb 16, 2009 2:16 pm

Re: Sublime Text X 20100924

Postby jps on Mon Sep 27, 2010 11:42 pm

Greg: Opening files in that way isn't hooked up under OS X yet, it will be in this weeks version though.

Nick: User File Type.sublime-options it's currently used at all, despite the comment. I'll put it on the list of things to fix.
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text X 20100924

Postby jps on Wed Sep 29, 2010 6:54 am

sublimator wrote:Can we have complete control over the bindings precedence in Sublime X? ZenCoding bindings, by virtue of Z > G, overriding my G)enshi snippets is a little frustrating.


I'll be focusing on getting the key binding system up to speed in next weeks release, and I'll get that sorted at the same time. Not quite sure what form it'll take, but perhaps just the ability to specify a priority number per-package, and sorting on that in preference to the package name.
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Previous

Return to General Discussion

Who is online

Users browsing this forum: ToddFiske and 20 guests

cron