Sublime text 3 个人设置配置注释

1,复制一份原始配置文件

把 sublime text --> preferences --> Settings - Default 文件里的所有内容都复制到

sublime text --> preferences --> Settings -User 文件里,

2,配置注释:

1// Place your settings in the file "User/Preferences.sublime-settings", which 2// overrides the settings in here. 3// 4// Settings may also be placed in file type specific options files, for 5// example, in Packages/Python/Python.sublime-settings for python files. 6{ 7    // Sets the colors used within the text area 8    // 设置主题 9    "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", 10 11    // Note that the font_face and font_size are overridden in the platform 12    // specific settings file, for example, "Preferences (Linux).sublime-settings". 13    // Because of this, setting them here will have no effect: you must set them 14    // in your User File Preferences. 15    "font_face": "Courier New",  // 设置字体 16    "font_size": 16,  // 设置字体大小 17 18    // Valid options are "no_bold", "no_italic", "no_antialias", "gray_antialias", 19    // "subpixel_antialias", "no_round" (OS X only), "gdi" (Windows only) and 20    // "directwrite" (Windows only) 21    "font_options": [], 22 23    // Characters that are considered to separate words 24    "word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?", 25 26    // Set to false to prevent line numbers being drawn in the gutter 27    "line_numbers": true,    //设置是否显示行号 28 29    // Set to false to hide the gutter altogether 30    "gutter": true, 31 32    // Spacing between the gutter and the text 33    "margin": 4, 34 35    // Fold buttons are the triangles shown in the gutter to fold regions of text 36    "fold_buttons": true, 37 38    // Hides the fold buttons unless the mouse is over the gutter 39    "fade_fold_buttons": true, 40 41    // Columns in which to display vertical rulers 42    "rulers": [], 43 44    // Set to true to turn spell checking on by default 45    "spell_check": false, 46 47    // The number of spaces a tab is considered equal to 48    "tab_size": 4, // TAB键的长度 49 50    // Set to true to insert spaces when tab is pressed 51    "translate_tabs_to_spaces": true, //true为空格替换TAB键,false则是TAB键 52 53    // If translate_tabs_to_spaces is true, use_tab_stops will make tab and 54    // backspace insert/delete up to the next tabstop 55    "use_tab_stops": true, 56 57    // Set to false to disable detection of tabs vs. spaces on load 58    "detect_indentation": true, 59 60    // Calculates indentation automatically when pressing enter 61    "auto_indent": true, 62 63    // Makes auto indent a little smarter, e.g., by indenting the next line 64    // after an if statement in C. Requires auto_indent to be enabled. 65    "smart_indent": true, 66 67    // Adds whitespace up to the first open bracket when indenting. Requires 68    // auto_indent to be enabled. 69    "indent_to_bracket": false, 70 71    // Trims white space added by auto_indent when moving the caret off the 72    // line. 73    "trim_automatic_white_space": true, 74 75    // Disables horizontal scrolling if enabled. 76    // May be set to true, false, or "auto", where it will be disabled for 77    // source code, and otherwise enabled. 78    "word_wrap": true,  // 是否换行 79 80    // Set to a value other than 0 to force wrapping at that column rather than the 81    // window width 82    "wrap_width": 0,   // 设置单行的宽度 83 84    // Set to false to prevent word wrapped lines from being indented to the same 85    // level 86    "indent_subsequent_lines": true, 87 88    // Draws text centered in the window rather than left aligned 89    "draw_centered": false, 90 91    // Controls auto pairing of quotes, brackets etc 92    "auto_match_enabled": true, 93 94    // Word list to use for spell checking 95    "dictionary": "Packages/Language - English/en_US.dic", 96 97    // Sets which scopes are checked for spelling errors 98    "spelling_selector": "markup.raw, source string.quoted - punctuation - meta.preprocessor.c.include, source comment - source comment.block.preprocessor, -(source, constant, keyword, storage, support, variable, markup.underline.link, meta.tag)", 99 100    // Set to true to draw a border around the visible rectangle on the minimap. 101    // The color of the border will be determined by the "minimapBorder" key in 102    // the color scheme 103    "draw_minimap_border": false, 104 105    // Always visualise the viewport on the minimap, as opposed to only 106    // showing it on mouse over 107    "always_show_minimap_viewport": false, 108 109    // If enabled, will highlight any line with a caret 110    "highlight_line": false, 111 112    // Valid values are "smooth", "phase", "blink" and "solid". 113    "caret_style": "smooth", 114 115    // These settings control the size of the caret 116    "caret_extra_top": 0, 117    "caret_extra_bottom": 0, 118    "caret_extra_width": 0, 119 120    // Set to false to disable underlining the brackets surrounding the caret 121    "match_brackets": true, 122 123    // Set to false if you'd rather only highlight the brackets when the caret is 124    // next to one 125    "match_brackets_content": true, 126 127    // Set to false to not highlight square brackets. This only takes effect if 128    // match_brackets is true 129    "match_brackets_square": true, 130 131    // Set to false to not highlight curly brackets. This only takes effect if 132    // match_brackets is true 133    "match_brackets_braces": true, 134 135    // Set to false to not highlight angle brackets. This only takes effect if 136    // match_brackets is true 137    "match_brackets_angle": false, 138 139    // Enable visualization of the matching tag in HTML and XML 140    "match_tags": true, 141 142    // Highlights other occurrences of the currently selected text 143    "match_selection": true, 144 145    // Additional spacing at the top of each line, in pixels 146    "line_padding_top": 2,    // 设置行高:内边距(上) 147 148    // Additional spacing at the bottom of each line, in pixels 149    "line_padding_bottom": 2,  // 设置行高:内边距(下) 150 151    // Set to false to disable scrolling past the end of the buffer. 152    // On OS X, this value is overridden in the platform specific settings, so 153    // you'll need to place this line in your user settings to override it. 154    "scroll_past_end": true, 155 156    // This controls what happens when pressing up or down when on the first 157    // or last line. 158    // On OS X, this value is overridden in the platform specific settings, so 159    // you'll need to place this line in your user settings to override it. 160    "move_to_limit_on_up_down": false, 161 162    // Set to "none" to turn off drawing white space, "selection" to draw only the 163    // white space within the selection, and "all" to draw all white space 164    "draw_white_space": "selection", 165 166    // Set to false to turn off the indentation guides. 167    // The color and width of the indent guides may be customized by editing 168    // the corresponding .tmTheme file, and specifying the colors "guide", 169    // "activeGuide" and "stackGuide" 170    "draw_indent_guides": true, 171 172    // Controls how the indent guides are drawn, valid options are 173    // "draw_normal" and "draw_active". draw_active will draw the indent 174    // guides containing the caret in a different color. 175    "indent_guide_options": ["draw_normal"], 176 177    // Set to true to removing trailing white space on save 178    "trim_trailing_white_space_on_save": false, 179 180    // Set to true to ensure the last line of the file ends in a newline 181    // character when saving 182    "ensure_newline_at_eof_on_save": false, 183 184    // Set to true to automatically save files when switching to a different file 185    // or application 186    "save_on_focus_lost": false, 187 188    // Save via writing to an alternate file, and then renaming it over the 189    // original file. 190    "atomic_save": false, 191 192    // The encoding to use when the encoding can't be determined automatically. 193    // ASCII, UTF-8 and UTF-16 encodings will be automatically detected. 194    "fallback_encoding": "Western (Windows 1252)", 195 196    // Encoding used when saving new files, and files opened with an undefined 197    // encoding (e.g., plain ascii files). If a file is opened with a specific 198    // encoding (either detected or given explicitly), this setting will be 199    // ignored, and the file will be saved with the encoding it was opened 200    // with. 201    "default_encoding": "UTF-8", 202 203    // Files containing null bytes are opened as hexadecimal by default 204    "enable_hexadecimal_encoding": true, 205 206    // Determines what character(s) are used to terminate each line in new files. 207    // Valid values are 'system' (whatever the OS uses), 'windows' (CRLF) and 208    // 'unix' (LF only). 209    "default_line_ending": "system", 210 211    // When enabled, pressing tab will insert the best matching completion. 212    // When disabled, tab will only trigger snippets or insert a tab. 213    // Shift+tab can be used to insert an explicit tab when tab_completion is 214    // enabled. 215    "tab_completion": true, 216 217    // Enable auto complete to be triggered automatically when typing. 218    "auto_complete": true, 219 220    // The maximum file size where auto complete will be automatically triggered. 221    "auto_complete_size_limit": 4194304, 222 223    // The delay, in ms, before the auto complete window is shown after typing 224    "auto_complete_delay": 50, 225 226    // Controls what scopes auto complete will be triggered in 227    "auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin", 228 229    // Additional situations to trigger auto complete 230    "auto_complete_triggers": [ {"selector": "text.html", "characters": "<"} ], 231 232    // By default, auto complete will commit the current completion on enter. 233    // This setting can be used to make it complete on tab instead. 234    // Completing on tab is generally a superior option, as it removes 235    // ambiguity between committing the completion and inserting a newline. 236    "auto_complete_commit_on_tab": false, 237 238    // Controls if auto complete is shown when snippet fields are active. 239    // Only relevant if auto_complete_commit_on_tab is true. 240    "auto_complete_with_fields": false, 241 242    // Controls what happens when pressing the up key while the first item in 243    // the auto complete window is selected: if false, the window is hidden, 244    // otherwise the last item in the window is selected. Likewise for the 245    // down key when the last item is selected. 246    "auto_complete_cycle": false, 247 248    // Automatically close HTML and XML tags when </ is entered. 249    "auto_close_tags": true, 250 251    // By default, shift+tab will only unindent if the selection spans 252    // multiple lines. When pressing shift+tab at other times, it'll insert a 253    // tab character - this allows tabs to be inserted when tab_completion is 254    // enabled. Set this to true to make shift+tab always unindent, instead of 255    // inserting tabs. 256    "shift_tab_unindent": false, 257 258    // If true, the copy and cut commands will operate on the current line 259    // when the selection is empty, rather than doing nothing. 260    "copy_with_empty_selection": true, 261 262    // If true, the selected text will be copied into the find panel when it's 263    // shown. 264    // On OS X, this value is overridden in the platform specific settings, so 265    // you'll need to place this line in your user settings to override it. 266    "find_selected_text": true, 267 268    // When auto_find_in_selection is enabled, the "Find in Selection" flag 269    // will be enabled automatically when multiple lines of text are selected 270    "auto_find_in_selection": false, 271 272    // When drag_text is enabled, clicking on selected text will begin a 273    // drag-drop operation. This is not currently implemented under Linux. 274    "drag_text": true, 275 276    // 277    // User Interface Settings 278    // 279 280    // The theme controls the look of Sublime Text's UI (buttons, tabs, scroll bars, etc) 281    "theme": "Default.sublime-theme", 282 283    // Set to 0 to disable smooth scrolling. Set to a value between 0 and 1 to 284    // scroll slower, or set to larger than 1 to scroll faster 285    "scroll_speed": 1.0, 286 287    // Controls side bar animation when expanding or collapsing folders 288    "tree_animation_enabled": true, 289 290    // Controls animation throughout the application 291    "animation_enabled": true, 292 293    // Makes tabs with modified files more visible 294    "highlight_modified_tabs": false, 295 296    "show_tab_close_buttons": true, 297 298    // Show folders in the side bar in bold 299    "bold_folder_labels": false, 300 301    // OS X only: Set to true to disable Lion style full screen support. 302    // Sublime Text must be restarted for this to take effect. 303    "use_simple_full_screen": false, 304 305    // OS X only. Valid values are true, false, and "auto". Auto will enable 306    // the setting when running on a screen 2560 pixels or wider (i.e., a 307    // Retina display). When this setting is enabled, OpenGL is used to 308    // accelerate drawing. Sublime Text must be restarted for changes to take 309    // effect. 310    "gpu_window_buffer": "auto", 311 312    // Valid values are "system", "enabled" and "disabled" 313    "overlay_scroll_bars": "system", 314 315    // Allows tabs to scroll left and right, instead of simply shrinking 316    "enable_tab_scrolling": true, 317 318    // Display file encoding in the status bar 319    "show_encoding": false, 320 321    // Display line endings in the status bar 322    "show_line_endings": false, 323 324    // 325    // Application Behavior Settings 326    // 327 328    // Exiting the application with hot_exit enabled will cause it to close 329    // immediately without prompting. Unsaved modifications and open files will 330    // be preserved and restored when next starting. 331    // 332    // Closing a window with an associated project will also close the window 333    // without prompting, preserving unsaved changes in the workspace file 334    // alongside the project. 335    "hot_exit": true, 336 337    // remember_full_screen will allow Sublime Text to start in full screen 338    // mode if it was exited in full screen mode. When set to false, Sublime 339    // Text will never start in full screen mode. 340    "remember_full_screen": false, 341 342    // Always prompt before reloading a file, even if the file hasn't been 343    // modified. The default behavior is to automatically reload a file if it 344    // hasn't been edited. If a file has unsaved changes, a prompt will always 345    // be shown. 346    "always_prompt_for_file_reload": false, 347 348    // OS X only: When files are opened from finder, or by dragging onto the 349    // dock icon, this controls if a new window is created or not. 350    "open_files_in_new_window": true, 351 352    // OS X only: This controls if an empty window is created at startup or not. 353    "create_window_at_startup": true, 354 355    // Set to true to close windows as soon as the last file is closed, unless 356    // there's a folder open within the window. 357    // On OS X, this value is overridden in the platform specific settings, so 358    // you'll need to place this line in your user settings to override it. 359    "close_windows_when_empty": false, 360 361    // Show the full path to files in the title bar. 362    // On OS X, this value is overridden in the platform specific settings, so 363    // you'll need to place this line in your user settings to override it. 364    "show_full_path": true, 365 366    // Shows the Build Results panel when building. If set to false, the Build 367    // Results can be shown via the Tools/Build Results menu. 368    "show_panel_on_build": true, 369 370    // Preview file contents when clicking on a file in the side bar. Double 371    // clicking or editing the preview will open the file and assign it a tab. 372    "preview_on_click": true, 373 374    // folder_exclude_patterns and file_exclude_patterns control which files 375    // are listed in folders on the side bar. These can also be set on a per- 376    // project basis. 377    "folder_exclude_patterns": [".svn", ".git", ".hg", "CVS"], 378    "file_exclude_patterns": ["*.pyc", "*.pyo", "*.exe", "*.dll", "*.obj","*.o", "*.a", "*.lib", "*.so", "*.dylib", "*.ncb", "*.sdf", "*.suo", "*.pdb", "*.idb", ".DS_Store", "*.class", "*.psd", "*.db", "*.sublime-workspace"], 379    // These files will still show up in the side bar, but won't be included in 380    // Goto Anything or Find in Files 381    "binary_file_patterns": ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.ttf", "*.tga", "*.dds", "*.ico", "*.eot", "*.pdf", "*.swf", "*.jar", "*.zip"], 382 383    // File indexing parses all files in the side bar, and builds an index of 384    // their symbols. This is required for Goto Definition to work. 385    "index_files": true, 386 387    // Set the number threads to use for indexing. A value of 0 will make 388    // Sublime Text guess based on the number of cores. Use the index_files 389    // setting to disable all workers. 390    "index_workers": 0, 391 392    // index_exclude_patterns indicate which files won't be indexed. 393    "index_exclude_patterns": ["*.log"], 394 395    // When enabled, anonymised usage data is sent back, assisting Sublime HQ 396    // in making informed decisions about improving Sublime Text. File names 397    // and file contents are never included, but data such as computer 398    // specifications, startup time, installed packages, and edited file types 399    // are. When disabled, telemetry is neither recorded or sent. 400    // A setting of auto will enable telemetry in dev builds, and disable 401    // telemetry in regular builds. 402    "enable_telemetry": "auto", 403 404    // List any packages to ignore here. When removing entries from this list, 405    // a restart may be required if the package contains plugins. 406    "ignored_packages": ["Vintage"] 407}
点赞
收藏

评论区

加载中...

相关推荐

MySQL:[Err] 1292 - Incorrect datetime value: ‘0000-00-00 00:00:00‘ for column ‘CREATE_TIME‘ at row 1

文章目录问题用navicat导入数据时,报错:原因这是因为当前的MySQL不支持datetime为0的情况。解决修改sql\mode:sql\mode:SQLMode定义了MySQL应支持的SQL语法、数据校验等,这样可以更容易地在不同的环境中使用MySQL。全局s

Oracle 分组与拼接字符串同时使用

SELECTT.,ROWNUMIDFROM(SELECTT.EMPLID,T.NAME,T.BU,T.REALDEPART,T.FORMATDATE,SUM(T.S0)S0,MAX(UPDATETIME)CREATETIME,LISTAGG(TOCHAR(

MySQL部分从库上面因为大量的临时表tmp_table造成慢查询

背景描述Time:20190124T00:08:14.70572408:00User@Host:@Id:Schema:sentrymetaLast_errno:0Killed:0Query_time:0.315758Lock_

皕杰报表之UUID

​在我们用皕杰报表工具设计填报报表时,如何在新增行里自动增加id呢?能新增整数排序id吗?目前可以在新增行里自动增加id,但只能用uuid函数增加UUID编码,不能新增整数排序id。uuid函数说明:获取一个UUID,可以在填报表中用来创建数据ID语法:uuid()或uuid(sep)参数说明:sep布尔值,生成的uuid中是否包含分隔符'',缺省为

手写Java HashMap源码

HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程22

java将前端的json数组字符串转换为列表

记录下在前端通过ajax提交了一个json数组的字符串,在后端如何转换为列表。前端数据转化与请求varcontracts{id:'1',name:'yanggb合同1'},{id:'2',name:'yanggb合同2'},{id:'3',name:'yang