Now that's how you'll be controlling most settings in Sublime Text, but there are a couple of settings that Sublime Text knows you're going to want to change more often, and it provides menu items for those. It tolerates that trailing comma just fine, and I actually like to leave it there, because it makes it a little easier to add new settings after this line in future. With Sublime Text 3, we don't need to worry about that anymore. And you'll note previous versions of Sublime Text were especially picky about this trailing comma here, the last setting in a file could not have a comma after it in order for the settings file to be a valid JavaScript object notation, or JSON file. I'll paste that in, and if I change "true" to "false", you'll see as soon as I save my changes, the line numbers immediately disappear, and I can bring them back just as quickly by switching it back to true. And so what you can do is use the left hand panel as a reference for what is available, and you can copy and paste settings into the space between the braces here on the right. That's why Sublime provides a separate file for your user preferences. This file represents the factory defaults that come built in to Sublime Text, and these might get updated when new versions of the editor come out, and so this isn't a great place to put your own personal preferences. Now you might be tempted to come over here on the left and try to modify one of these values, but when you do you'll find it's read only. On the left is all of the preferences that Sublime Text provides, and on the right is an empty user preferences file. And when you select that, you get this new split pane window. If you go to the Sublime Text menu on your Mac, or on Windows choose the preferences menu from the top of the window, you can find the menu item "Settings" underneath there. Sublime Text sometimes gets a bit of a bad rap for not having a nice graphical user interface for controlling all of its settings, but the system of text files it uses to control all of your settings is uniquely flexible, and I'd like to show it to you now.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |