Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying out Sublime Text 2. I know that I can see the value of a particular setting by entering a console command like so:

>>> view.settings().get("word_wrap")
True

But is there a way to get all current settings—ideally in JSON format? Since these don't seem to be documented anywhere, I'm mainly looking for things I might want to override in my user settings file.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

You can see the defaults for the program bu looking in the Preferences -> File settings - Default or Preferences -> Global settings - Default. These are the defaults you can overwrite with your settings, and are therefore what the values are when you first install the program.

By looking through these, you can see what you'd like to change.

share|improve this answer
    
Thanks, I was hoping to see everything in one place, but this is probably my best option. –  Trevor Burnham Jan 19 '12 at 16:31

Which OS? Assuming Windows, even though you seem to be using Python?...

I have not tried the v2 beta, but on 1.4 I have the settings in the program folder in .\Data\Packages\Default\Options\Application.sublime-options. I have it installed as a portable app, so the file may be in %APPDATA% for you.

share|improve this answer
    
I'm on a Mac, but that shouldn't matter. Settings are handled differently in Sublime Text 2 (which has an integrated Python console); they're spread across several files. –  Trevor Burnham Jul 23 '11 at 2:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.