Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to Edit Sublime Text's Default Settings

I would like to edit my default settings in Sublime Text 3 (beta build 3059) to not ignore the Vintage package - via Preferences > Settings - Default. I am running Sublime Text on Windows 7 Pro x64.

The Vintage package's documentation says to edit and save the default settings file to enable Vintage mode:

Sublime Text 3 Vintage Package Documentation

When I click the Settings - Default menu item, the default Preferences.sublime-settings file opens with expected content; but I cannot edit it. For example, deleting or backspacing to remove "Vintage" in "ignored_packages": ["Vintage"] does nothing.

I thought maybe the default settings file was marked readonly and tried to check it: C:\Users\me\AppData\Roaming\Sublime Text 3\Packages\Default\Preferences.sublime-settings does not exist. C:\Users\me\AppData\Roaming\Sublime Text 3\Packages\Default does not exist either.

To work around this, I tried to save the default settings file that Sublime Text opened for me - to see if that would create the Default directory and Preferences.sublime-settings in it. Instead Sublime Text gave the following error:

Unable to save C:\Users\me\AppData\Roaming\Sublime Text 3\Packages\Default\Preferences.sublime-settings
Error: The system cannot find the path specified.

Has anyone encountered this issue with Sublime Text 3 (specifically in trying to enable Vintage mode or otherwise) and worked around it...or found an authoritative explanation for it?

I reason that next I could try to add the missing Default directory myself, create an empty Preferences.sublime-settings text file in it, and try again to save the default settings file that Sublime Text opened for me; but this is starting to feel kludgy.

like image 631
J0e3gan Avatar asked Apr 09 '14 04:04

J0e3gan


People also ask

How do I change sublime default settings?

Changing Preferences. Open the Sublime Text default settings file: Mac OS X: Sublime Text 2 > Preferences > Settings - Default. Windows: Preferences > Settings - Default. Linux: Preferences > Settings - Default.

Where are sublime text settings stored?

These settings are stored in file: Preferences. sublime-settings and Preferences (platform). sublime-settings files. The defaults can be found in Packages/Default .

How do I change settings in Sublime Text 4?

Settings are changed by editing text files: while this is a little trickier than using a GUI, you're rewarded with a flexible system. Settings menu item. The left-hand pane contains all of the default settings, along with a description of each. The right-hand pane is where customization can be saved.


1 Answers

You should not edit the default settings. Add the files you want to ignore to the file Packages/User/Preferences.sublime-settings. You can open this file by going to Preferences - >Settings - User. Anything you set here will override the default settings.

like image 120
skuroda Avatar answered Oct 06 '22 17:10

skuroda