MatchBracketsBraces: Set to false to not highlight curly brackets. This only takes effect if matchBrackets is true. MatchBracketsSquare: Set to false to not highlight square brackets. MatchBracketsContent: Set to false if you'd rather only highlight the brackets when the cursor isnext to one. MatchBrackets: Set to false to disable underlining the brackets surrounding the cursor. HighlightLine: Set to false to disable highlighting any line with a cursor. Defaults to false.ĪutoReloadChanged: Set to true to always reload changed files on disk, instead of prompting. IgnoreChanged: Set to true to never prompt to reload when a file is changed on disk. Defaults to Packages/Language - English/en_US.dic. Defaults to true.ĭictionary: Word list to use for spell checking. Defaults to false.ĪutoMatchEnabled: Set to false to stop auto pairing quotes, brackets etc. Defaults to true.ĭrawCentered: Set to true to draw text centered in the window rather than left aligned. IndentSubsequentLines: Set to false to prevent word wrapped lines from being indented to the same level. WrapWidth: Set to a value other than 0 to force wrapping at that column rather than the window width. WordWrap: Set to false for horizontal scrolling. Defaults to true.ĪutoIndent: Set to false to disable automatic indentation. UseTabStops: If translateTabsToSpaces is true, useTabStops will make tab and backspace to insert/delete up to the next tabstop. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |