![]() ![]() TranslateTabsToSpaces: Set to true to insert spaces when tab is pressed. TabSize: The number of spaces a tab is considered equal to. SpellCheck: Set to true to turn spell checking on by default. Rulers: Columns in which to display vertical rulers, space separated. ![]() Gutter: Set to false to hide the gutter altogether. ![]() Defaults to Set to false to prevent line numbers being drawn in the gutter. WordSeparators: What characters are considered to separate words when using ctrl+arrows etc. To override the system antialiasing settings, append :noantialias to the end of the line. Defaults to Packages/Default/Context.sublime-menu.įont: Font to draw with. Defaults to Packages/Color Scheme - Default/Monokai Bright.tmTheme.ĬontextMenu: The menu that pops up when you right click. Available PreferencesĬolorscheme: Sets the colors used within the text area. Like all commands, these can be placed in menus too. The set command can be used to assign a particular value to a preference. For example, to bind a key to toggle word wrap, use: ![]() The toggle command works with boolean preferences. There are two inbuilt commands you can use to interact with the current buffer's file type preferences: toggle To query the current word wrap setting, you can use: view.options().get('wordWrap')Ĭreating Key Bindings to change preferences For example, to turn word wrap off, you can enter the command: view.options().set('wordWrap', False) To change a preference on the fly for the current buffer, you can use the console. User File Type.sublime-options may be opened via the Preferences/User File Type menu item. In general, when changing a preference you should do so by adding it to User File Type.sublime-options, as Default File Type.sublime-options will get overwritten when installing new versions. Packages/Default/Options/Default File Type.sublime-optionsĭefault File Type.sublime-options contains a complete list of available preferences for customization, it's a good place to browse to find out what can be changed.Packages/Default/Options/User File Type.sublime-options.When Sublime Text is looking up the value of a particular preference, it consults these files in order, assuming a Python file is currently being edited: They can be specified at a default level, or at a per-file type level. File Type preferences control aspects of Sublime Text that are related to the file being edited, for instance, word wrap, indentation size, and font.įile Type preferences consist of a set of key-value pairs. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |