{"id":260,"date":"2014-01-01T05:50:43","date_gmt":"2013-12-31T21:50:43","guid":{"rendered":"http:\/\/web.jofar.cn\/?p=260"},"modified":"2014-01-01T05:50:43","modified_gmt":"2013-12-31T21:50:43","slug":"sublime%e8%ae%be%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/web.jofar.cn\/?p=260","title":{"rendered":"sublime\u8bbe\u7f6e"},"content":{"rendered":"<p>\/*<br \/>\n\/\/ sublime\u6559\u7a0b<br \/>\n1. \u4fa7\u680f\u53ef\u4ee5\u6258\u5165\u6587\u4ef6\u5939\u8fdb\u53bb\u5373\u5f62\u6210\u4e86\u9879\u76ee<br \/>\n2. \u9f20\u6807\u79fb\u5230\u884c\u53f7\u4e0a\uff0c\u5373\u4f1a\u663e\u793a\u6298\u53e0\u7684\u6807\u8bb0<br \/>\n3. \u9009\u4e2d\u4e00\u4e2a\u5355\u8bcd\uff0c\u540c\u6587\u672c\u5185\u7684\u76f8\u540c\u5355\u8bcd\u90fd\u4f1a\u88ab\u6807\u8bb0\u51fa\u6765<br \/>\n4. \u7a7a\u683c\u5904\u7528\u5149\u6807\u9009\u4e2d\uff0c\u4f1a\u663e\u793a\u662fTAB\u8fd8\u662fspace<br \/>\n5. \u6309ctrl\u952e\uff0c\u518d\u7528\u5149\u6807\u9009\u7528\u5185\u5bb9\uff0c\u53ef\u4ee5\u540c\u65f6\u6539\u591a\u884c\u7684\u5185\u5bb9<br \/>\n6. \u6309ctrl+\u9f20\u6807\u5de6\u952e\uff0c\u53ef\u4ee5\u9009\u62e9\u591a\u884c\u7684\u4e0d\u540c\u5730\u65b9 \u6309ctrl+\u9f20\u6807\u53f3\u952e\uff0c\u53ef\u4ee5\u9009\u62e9\u591a\u884c\u7684\u76f8\u540c\u5730\u65b9<br \/>\n7. \u6309ctrl+\/ \u5355\u884c\u6ce8\u5f88\u53ef\u91ca ?\u6309CTRL + SHIFT + \/ \u6ce8\u91ca\u9009\u62e9\u7684\u4e00\u4e2a\u533a\u95f4<br \/>\n8. \u6309ctrl+` \u53ef\u4ee5\u8c03\u51fapathon\u63a7\u5236\u53f0\uff0c\u539f\u540e\u6309\u5b98\u65b9\u7684\u8bf4\u660e\u8f93\u5165\u4e00\u6bb5\u4ee3\u7801\uff0c\u5373\u53ef\u4ee5\u88c5\u4e0apackage control\u5305<br \/>\n9. \u6309ctrl+shift+p\u53ef\u4ee5\u8c03\u51fa\u547d\u4ee4\u63a7\u5236\u53f0\uff0c\u53ef\u4ee5\u53bb\u5b8c\u6210\u76f8\u5f53\u4e8e\u83dc\u5355\u4e0a\u7684\u4e00\u4e9b\u64cd\u4f5c<br \/>\n10. \u6309ctrl+p\u53ef\u4ee5\u5728\u9879\u76ee\u5185\u627e\u5230\u76f8\u5173\u5185\u5bb9<br \/>\n11. \u88c5brackehighlighter\u53ef\u4ee5\u663e\u793a\u6210\u5bf9\u7684\u5149\u6807\u9ad8\u4eae<br \/>\n12. \u88c5alignment\u53ef\u4ee5\u5bf9\u8d77\u4ee3\u7801<br \/>\n13. \u7528\u6237\u9ed8\u8ba4\u8bbe\u7f6e\u4e0d\u5efa\u8bae\u4fee\u6539\uff0c\u8981\u4fee\u6539\u7684\u8bdd\uff0c\u5c31\u4fee\u6539setting-user\u4e2d\u7684\u5185\u5bb9\uff0c\u6309\u683c\u5f0f\u6765\u5373\u53ef\uff0c\u6539\u540e\u7684\u8bbe\u5b9a\u4f18\u5148\u7ea7\u6700\u9ad8<br \/>\n14. \u5728\u6307\u5b9a\u76ee\u5f55\u4e0b\u6240\u6709\u6587\u4ef6\u4e2d\u641c\u7d22\u5185\u5bb9\uff1aCTRL + SHIFT + f<br \/>\n15. \u5728\u6307\u5b9a\u6587\u4ef6\u4e2d\u641c\u7d22\u5185\u5bb9\uff1aCTRL + f<br \/>\n*\/<\/p>\n<p>\/\/Preferences.sublime-settings\u6587\u4ef6\uff1a<br \/>\n\/\/ Place your settings in the file &#8220;User\/Preferences.sublime-settings&#8221;, which<br \/>\n\/\/ overrides the settings in here.<br \/>\n\/\/<br \/>\n\/\/ Settings may also be placed in file type specific options files, for<br \/>\n\/\/ example, in Packages\/Python\/Python.sublime-settings for python files.<br \/>\n{<br \/>\n\/\/ Sets the colors used within the text area<br \/>\n&#8220;color_scheme&#8221;: &#8220;Packages\/Color Scheme &#8211; Default\/cobalt2.tmTheme&#8221;,<\/p>\n<p>\/\/ Note that the font_face and font_size are overriden in the platform<br \/>\n\/\/ specific settings file, for example, &#8220;Preferences (Linux).sublime-settings&#8221;.<br \/>\n\/\/ Because of this, setting them here will have no effect: you must set them<br \/>\n\/\/ in your User File Preferences.<br \/>\n&#8220;font_face&#8221;: &#8220;&#8221;,<br \/>\n&#8220;font_size&#8221;: 10,<\/p>\n<p>\/\/ Valid options are &#8220;no_bold&#8221;, &#8220;no_italic&#8221;, &#8220;no_antialias&#8221;, &#8220;gray_antialias&#8221;,<br \/>\n\/\/ &#8220;subpixel_antialias&#8221;, &#8220;no_round&#8221; (OS X only) and &#8220;directwrite&#8221; (Windows only)<br \/>\n&#8220;font_options&#8221;: [],<\/p>\n<p>\/\/ Characters that are considered to separate words<br \/>\n&#8220;word_separators&#8221;: &#8220;.\/\\\\()\\&#8221;&#8216;-:,.;&lt;&gt;~!@#$%^&amp;*|+=[]{}`~?&#8221;,<\/p>\n<p>\/\/ Set to false to prevent line numbers being drawn in the gutter<br \/>\n&#8220;line_numbers&#8221;: true,<\/p>\n<p>\/\/ Set to false to hide the gutter altogether<br \/>\n&#8220;gutter&#8221;: true,<\/p>\n<p>\/\/ Spacing between the gutter and the text<br \/>\n&#8220;margin&#8221;: 4,<\/p>\n<p>\/\/ Fold buttons are the triangles shown in the gutter to fold regions of text<br \/>\n&#8220;fold_buttons&#8221;: true,<\/p>\n<p>\/\/ Hides the fold buttons unless the mouse is over the gutter<br \/>\n&#8220;fade_fold_buttons&#8221;: true,<\/p>\n<p>\/\/ Columns in which to display vertical rulers<br \/>\n&#8220;rulers&#8221;: [],<\/p>\n<p>\/\/ Set to true to turn spell checking on by default<br \/>\n&#8220;spell_check&#8221;: false,<\/p>\n<p>\/\/ The number of spaces a tab is considered equal to<br \/>\n&#8220;tab_size&#8221;: 4,<\/p>\n<p>\/\/ Set to true to insert spaces when tab is pressed<br \/>\n&#8220;translate_tabs_to_spaces&#8221;: false,<\/p>\n<p>\/\/ If translate_tabs_to_spaces is true, use_tab_stops will make tab and<br \/>\n\/\/ backspace insert\/delete up to the next tabstop<br \/>\n&#8220;use_tab_stops&#8221;: true,<\/p>\n<p>\/\/ Set to false to disable detection of tabs vs. spaces on load<br \/>\n&#8220;detect_indentation&#8221;: true,<\/p>\n<p>\/\/ Calculates indentation automatically when pressing enter<br \/>\n&#8220;auto_indent&#8221;: true,<\/p>\n<p>\/\/ Makes auto indent a little smarter, e.g., by indenting the next line<br \/>\n\/\/ after an if statement in C. Requires auto_indent to be enabled.<br \/>\n&#8220;smart_indent&#8221;: true,<\/p>\n<p>\/\/ Adds whitespace up to the first open bracket when indenting. Requires<br \/>\n\/\/ auto_indent to be enabled.<br \/>\n&#8220;indent_to_bracket&#8221;: false,<\/p>\n<p>\/\/ Trims white space added by auto_indent when moving the caret off the<br \/>\n\/\/ line.<br \/>\n&#8220;trim_automatic_white_space&#8221;: true,<\/p>\n<p>\/\/ Disables horizontal scrolling if enabled.<br \/>\n\/\/ May be set to true, false, or &#8220;auto&#8221;, where it will be disabled for<br \/>\n\/\/ source code, and otherwise enabled.<br \/>\n&#8220;word_wrap&#8221;: &#8220;auto&#8221;,<\/p>\n<p>\/\/ Set to a value other than 0 to force wrapping at that column rather than the<br \/>\n\/\/ window width<br \/>\n&#8220;wrap_width&#8221;: 0,<\/p>\n<p>\/\/ Set to false to prevent word wrapped lines from being indented to the same<br \/>\n\/\/ level<br \/>\n&#8220;indent_subsequent_lines&#8221;: true,<\/p>\n<p>\/\/ Draws text centered in the window rather than left aligned<br \/>\n&#8220;draw_centered&#8221;: false,<\/p>\n<p>\/\/ Controls auto pairing of quotes, brackets etc<br \/>\n&#8220;auto_match_enabled&#8221;: true,<\/p>\n<p>\/\/ Word list to use for spell checking<br \/>\n&#8220;dictionary&#8221;: &#8220;Packages\/Language &#8211; English\/en_US.dic&#8221;,<\/p>\n<p>\/\/ Set to true to draw a border around the visible rectangle on the minimap.<br \/>\n\/\/ The color of the border will be determined by the &#8220;minimapBorder&#8221; key in<br \/>\n\/\/ the color scheme<br \/>\n&#8220;draw_minimap_border&#8221;: false,<\/p>\n<p>\/\/ Always visualise the viewport on the minimap, as oppossed to only<br \/>\n\/\/ showing it on mouse over<br \/>\n&#8220;always_show_minimap_viewport&#8221;: false,<\/p>\n<p>\/\/ If enabled, will highlight any line with a caret<br \/>\n&#8220;highlight_line&#8221;: false,<\/p>\n<p>\/\/ Valid values are &#8220;smooth&#8221;, &#8220;phase&#8221;, &#8220;blink&#8221;, &#8220;wide&#8221; and &#8220;solid&#8221;.<br \/>\n&#8220;caret_style&#8221;: &#8220;smooth&#8221;,<\/p>\n<p>\/\/ Set to false to disable underlining the brackets surrounding the caret<br \/>\n&#8220;match_brackets&#8221;: true,<\/p>\n<p>\/\/ Set to false if you&#8217;d rather only highlight the brackets when the caret is<br \/>\n\/\/ next to one<br \/>\n&#8220;match_brackets_content&#8221;: true,<\/p>\n<p>\/\/ Set to false to not highlight square brackets. This only takes effect if<br \/>\n\/\/ match_brackets is true<br \/>\n&#8220;match_brackets_square&#8221;: true,<\/p>\n<p>\/\/ Set to false to not highlight curly brackets. This only takes effect if<br \/>\n\/\/ match_brackets is true<br \/>\n&#8220;match_brackets_braces&#8221;: true,<\/p>\n<p>\/\/ Set to false to not highlight angle brackets. This only takes effect if<br \/>\n\/\/ match_brackets is true<br \/>\n&#8220;match_brackets_angle&#8221;: false,<\/p>\n<p>\/\/ Enable visualization of the matching tag in HTML and XML<br \/>\n&#8220;match_tags&#8221;: true,<\/p>\n<p>\/\/ Highlights other occurrences of the currently selected text<br \/>\n&#8220;match_selection&#8221;: true,<\/p>\n<p>\/\/ Additional spacing at the top of each line, in pixels<br \/>\n&#8220;line_padding_top&#8221;: 0,<\/p>\n<p>\/\/ Additional spacing at the bottom of each line, in pixels<br \/>\n&#8220;line_padding_bottom&#8221;: 0,<\/p>\n<p>\/\/ Set to false to disable scrolling past the end of the buffer.<br \/>\n\/\/ On OS X, this value is overridden in the platform specific settings, so<br \/>\n\/\/ you&#8217;ll need to place this line in your user settings to override it.<br \/>\n&#8220;scroll_past_end&#8221;: true,<\/p>\n<p>\/\/ This controls what happens when pressing up or down when on the first<br \/>\n\/\/ or last line.<br \/>\n\/\/ On OS X, this value is overridden in the platform specific settings, so<br \/>\n\/\/ you&#8217;ll need to place this line in your user settings to override it.<br \/>\n&#8220;move_to_limit_on_up_down&#8221;: false,<\/p>\n<p>\/\/ Set to &#8220;none&#8221; to turn off drawing white space, &#8220;selection&#8221; to draw only the<br \/>\n\/\/ white space within the selection, and &#8220;all&#8221; to draw all white space<br \/>\n&#8220;draw_white_space&#8221;: &#8220;selection&#8221;,<\/p>\n<p>\/\/ Set to false to turn off the indentation guides.<br \/>\n\/\/ The color and width of the indent guides may be customized by editing<br \/>\n\/\/ the corresponding .tmTheme file, and specifying the colors &#8220;guide&#8221;,<br \/>\n\/\/ &#8220;activeGuide&#8221; and &#8220;stackGuide&#8221;<br \/>\n&#8220;draw_indent_guides&#8221;: true,<\/p>\n<p>\/\/ Controls how the indent guides are drawn, valid options are<br \/>\n\/\/ &#8220;draw_normal&#8221; and &#8220;draw_active&#8221;. draw_active will draw the indent<br \/>\n\/\/ guides containing the caret in a different color.<br \/>\n&#8220;indent_guide_options&#8221;: [&#8220;draw_normal&#8221;],<\/p>\n<p>\/\/ Set to true to removing trailing white space on save<br \/>\n&#8220;trim_trailing_white_space_on_save&#8221;: false,<\/p>\n<p>\/\/ Set to true to ensure the last line of the file ends in a newline<br \/>\n\/\/ character when saving<br \/>\n&#8220;ensure_newline_at_eof_on_save&#8221;: false,<\/p>\n<p>\/\/ Set to true to automatically save files when switching to a different file<br \/>\n\/\/ or application<br \/>\n&#8220;save_on_focus_lost&#8221;: false,<\/p>\n<p>\/\/ Save via writing to an alternate file, and then renaming it over the<br \/>\n\/\/ original file.<br \/>\n&#8220;atomic_save&#8221;: true,<\/p>\n<p>\/\/ The encoding to use when the encoding can&#8217;t be determined automatically.<br \/>\n\/\/ ASCII, UTF-8 and UTF-16 encodings will be automatically detected.<br \/>\n&#8220;fallback_encoding&#8221;: &#8220;Western (Windows 1252)&#8221;,<\/p>\n<p>\/\/ Encoding used when saving new files, and files opened with an undefined<br \/>\n\/\/ encoding (e.g., plain ascii files). If a file is opened with a specific<br \/>\n\/\/ encoding (either detected or given explicitly), this setting will be<br \/>\n\/\/ ignored, and the file will be saved with the encoding it was opened<br \/>\n\/\/ with.<br \/>\n&#8220;default_encoding&#8221;: &#8220;UTF-8&#8221;,<\/p>\n<p>\/\/ Files containing null bytes are opened as hexadecimal by default<br \/>\n&#8220;enable_hexadecimal_encoding&#8221;: true,<\/p>\n<p>\/\/ Determines what character(s) are used to terminate each line in new files.<br \/>\n\/\/ Valid values are &#8216;system&#8217; (whatever the OS uses), &#8216;windows&#8217; (CRLF) and<br \/>\n\/\/ &#8216;unix&#8217; (LF only).<br \/>\n&#8220;default_line_ending&#8221;: &#8220;system&#8221;,<\/p>\n<p>\/\/ When enabled, pressing tab will insert the best matching completion.<br \/>\n\/\/ When disabled, tab will only trigger snippets or insert a tab.<br \/>\n\/\/ Shift+tab can be used to insert an explicit tab when tab_completion is<br \/>\n\/\/ enabled.<br \/>\n&#8220;tab_completion&#8221;: true,<\/p>\n<p>\/\/ Enable auto complete to be triggered automatically when typing.<br \/>\n&#8220;auto_complete&#8221;: true,<\/p>\n<p>\/\/ The maximum file size where auto complete will be automatically triggered.<br \/>\n&#8220;auto_complete_size_limit&#8221;: 4194304,<\/p>\n<p>\/\/ The delay, in ms, before the auto complete window is shown after typing<br \/>\n&#8220;auto_complete_delay&#8221;: 50,<\/p>\n<p>\/\/ Controls what scopes auto complete will be triggered in<br \/>\n&#8220;auto_complete_selector&#8221;: &#8220;source &#8211; comment, meta.tag &#8211; punctuation.definition.tag.begin&#8221;,<\/p>\n<p>\/\/ Additional situations to trigger auto complete<br \/>\n&#8220;auto_complete_triggers&#8221;: [ {&#8220;selector&#8221;: &#8220;text.html&#8221;, &#8220;characters&#8221;: &#8220;&lt;&#8220;} ],<\/p>\n<p>\/\/ By default, auto complete will commit the current completion on enter.<br \/>\n\/\/ This setting can be used to make it complete on tab instead.<br \/>\n\/\/ Completing on tab is generally a superior option, as it removes<br \/>\n\/\/ ambiguity between committing the completion and inserting a newline.<br \/>\n&#8220;auto_complete_commit_on_tab&#8221;: false,<\/p>\n<p>\/\/ Controls if auto complete is shown when snippet fields are active.<br \/>\n\/\/ Only relevant if auto_complete_commit_on_tab is true.<br \/>\n&#8220;auto_complete_with_fields&#8221;: false,<\/p>\n<p>\/\/ Automatically close HTML and XML tags when &lt;\/ is entered.<br \/>\n&#8220;auto_close_tags&#8221;: true,<\/p>\n<p>\/\/ By default, shift+tab will only unindent if the selection spans<br \/>\n\/\/ multiple lines. When pressing shift+tab at other times, it&#8217;ll insert a<br \/>\n\/\/ tab character &#8211; this allows tabs to be inserted when tab_completion is<br \/>\n\/\/ enabled. Set this to true to make shift+tab always unindent, instead of<br \/>\n\/\/ inserting tabs.<br \/>\n&#8220;shift_tab_unindent&#8221;: false,<\/p>\n<p>\/\/ If true, the copy and cut commands will operate on the current line<br \/>\n\/\/ when the selection is empty, rather than doing nothing.<br \/>\n&#8220;copy_with_empty_selection&#8221;: true,<\/p>\n<p>\/\/ If true, the selected text will be copied into the find panel when it&#8217;s<br \/>\n\/\/ shown.<br \/>\n\/\/ On OS X, this value is overridden in the platform specific settings, so<br \/>\n\/\/ you&#8217;ll need to place this line in your user settings to override it.<br \/>\n&#8220;find_selected_text&#8221;: true,<\/p>\n<p>\/\/ When auto_find_in_selection is enabled, the &#8220;Find in Selection&#8221; flag<br \/>\n\/\/ will be enabled automatically when multiple lines of text are selected<br \/>\n&#8220;auto_find_in_selection&#8221;: false,<\/p>\n<p>\/\/ When drag_text is enabled, clicking on selected text will begin a<br \/>\n\/\/ drag-drop operation. This is not currently implemented under Linux.<br \/>\n&#8220;drag_text&#8221;: true,<\/p>\n<p>\/\/<br \/>\n\/\/ User Interface Settings<br \/>\n\/\/<\/p>\n<p>\/\/ The theme controls the look of Sublime Text&#8217;s UI (buttons, tabs, scroll bars, etc)<br \/>\n&#8220;theme&#8221;: &#8220;Default.sublime-theme&#8221;,<\/p>\n<p>\/\/ Set to 0 to disable smooth scrolling. Set to a value between 0 and 1 to<br \/>\n\/\/ scroll slower, or set to larger than 1 to scroll faster<br \/>\n&#8220;scroll_speed&#8221;: 1.0,<\/p>\n<p>\/\/ Controls side bar animation when expanding or collapsing folders<br \/>\n&#8220;tree_animation_enabled&#8221;: true,<\/p>\n<p>\/\/ Controls animation throughout the application<br \/>\n&#8220;animation_enabled&#8221;: true,<\/p>\n<p>\/\/ Makes tabs with modified files more visible<br \/>\n&#8220;highlight_modified_tabs&#8221;: false,<\/p>\n<p>&#8220;show_tab_close_buttons&#8221;: true,<\/p>\n<p>\/\/ Show folders in the side bar in bold<br \/>\n&#8220;bold_folder_labels&#8221;: false,<\/p>\n<p>\/\/ OS X only: Set to true to disable Lion style full screen support.<br \/>\n\/\/ Sublime Text must be restarted for this to take effect.<br \/>\n&#8220;use_simple_full_screen&#8221;: false,<\/p>\n<p>\/\/ OS X only. Valid values are true, false, and &#8220;auto&#8221;. Auto will enable<br \/>\n\/\/ the setting when running on a screen 2560 pixels or wider (i.e., a<br \/>\n\/\/ Retina display). When this setting is enabled, OpenGL is used to<br \/>\n\/\/ accelerate drawing. Sublime Text must be restarted for changes to take<br \/>\n\/\/ effect.<br \/>\n&#8220;gpu_window_buffer&#8221;: &#8220;auto&#8221;,<\/p>\n<p>\/\/ Valid values are &#8220;system&#8221;, &#8220;enabled&#8221; and &#8220;disabled&#8221;<br \/>\n&#8220;overlay_scroll_bars&#8221;: &#8220;system&#8221;,<\/p>\n<p>\/\/<br \/>\n\/\/ Application Behavior Settings<br \/>\n\/\/<\/p>\n<p>\/\/ Exiting the application with hot_exit enabled will cause it to close<br \/>\n\/\/ immediately without prompting. Unsaved modifications and open files will<br \/>\n\/\/ be preserved and restored when next starting.<br \/>\n\/\/<br \/>\n\/\/ Closing a window with an associated project will also close the window<br \/>\n\/\/ without prompting, preserving unsaved changes in the workspace file<br \/>\n\/\/ alongside the project.<br \/>\n&#8220;hot_exit&#8221;: true,<\/p>\n<p>\/\/ remember_open_files makes the application start up with the last set of<br \/>\n\/\/ open files. Changing this to false will have no effect if hot_exit is<br \/>\n\/\/ true<br \/>\n&#8220;remember_open_files&#8221;: true,<\/p>\n<p>\/\/ Always prompt before reloading a file, even if the file hasn&#8217;t been<br \/>\n\/\/ modified. The default behavior is to automatically reload a file if it<br \/>\n\/\/ hasn&#8217;t been edited. If a file has unsaved changes, a prompt will always<br \/>\n\/\/ be shown.<br \/>\n&#8220;always_prompt_for_file_reload&#8221;: false,<\/p>\n<p>\/\/ OS X only: When files are opened from finder, or by dragging onto the<br \/>\n\/\/ dock icon, this controls if a new window is created or not.<br \/>\n&#8220;open_files_in_new_window&#8221;: true,<\/p>\n<p>\/\/ OS X only: This controls if an empty window is created at startup or not.<br \/>\n&#8220;create_window_at_startup&#8221;: true,<\/p>\n<p>\/\/ Set to true to close windows as soon as the last file is closed, unless<br \/>\n\/\/ there&#8217;s a folder open within the window. This is always enabled on OS X,<br \/>\n\/\/ changing it here won&#8217;t modify the behavior.<br \/>\n&#8220;close_windows_when_empty&#8221;: false,<\/p>\n<p>\/\/ Show the full path to files in the title bar.<br \/>\n\/\/ On OS X, this value is overridden in the platform specific settings, so<br \/>\n\/\/ you&#8217;ll need to place this line in your user settings to override it.<br \/>\n&#8220;show_full_path&#8221;: true,<\/p>\n<p>\/\/ Shows the Build Results panel when building. If set to false, the Build<br \/>\n\/\/ Results can be shown via the Tools\/Build Results menu.<br \/>\n&#8220;show_panel_on_build&#8221;: true,<\/p>\n<p>\/\/ Preview file contents when clicking on a file in the side bar. Double<br \/>\n\/\/ clicking or editing the preview will open the file and assign it a tab.<br \/>\n&#8220;preview_on_click&#8221;: true,<\/p>\n<p>\/\/ folder_exclude_patterns and file_exclude_patterns control which files<br \/>\n\/\/ are listed in folders on the side bar. These can also be set on a per-<br \/>\n\/\/ project basis.<br \/>\n&#8220;folder_exclude_patterns&#8221;: [&#8220;.svn&#8221;, &#8220;.git&#8221;, &#8220;.hg&#8221;, &#8220;CVS&#8221;],<br \/>\n&#8220;file_exclude_patterns&#8221;: [&#8220;*.pyc&#8221;, &#8220;*.pyo&#8221;, &#8220;*.exe&#8221;, &#8220;*.dll&#8221;, &#8220;*.obj&#8221;,&#8221;*.o&#8221;, &#8220;*.a&#8221;, &#8220;*.lib&#8221;, &#8220;*.so&#8221;, &#8220;*.dylib&#8221;, &#8220;*.ncb&#8221;, &#8220;*.sdf&#8221;, &#8220;*.suo&#8221;, &#8220;*.pdb&#8221;, &#8220;*.idb&#8221;, &#8220;.DS_Store&#8221;, &#8220;*.class&#8221;, &#8220;*.psd&#8221;, &#8220;*.db&#8221;, &#8220;*.sublime-workspace&#8221;],<br \/>\n\/\/ These files will still show up in the side bar, but won&#8217;t be included in<br \/>\n\/\/ Goto Anything or Find in Files<br \/>\n&#8220;binary_file_patterns&#8221;: [&#8220;*.jpg&#8221;, &#8220;*.jpeg&#8221;, &#8220;*.png&#8221;, &#8220;*.gif&#8221;, &#8220;*.ttf&#8221;, &#8220;*.tga&#8221;, &#8220;*.dds&#8221;, &#8220;*.ico&#8221;, &#8220;*.eot&#8221;, &#8220;*.pdf&#8221;, &#8220;*.swf&#8221;, &#8220;*.jar&#8221;, &#8220;*.zip&#8221;],<\/p>\n<p>\/\/ File indexing parses all files in the side bar, and builds an index of<br \/>\n\/\/ their symbols. This is required for Goto Definition to work.<br \/>\n&#8220;index_files&#8221;: true,<\/p>\n<p>\/\/ When enabled, anonymised usage data is sent back, assisting Sublime HQ<br \/>\n\/\/ in making informed decisions about improving Sublime Text. File names<br \/>\n\/\/ and file contents are never included, but data such as computer<br \/>\n\/\/ specifications, startup time, installed packages, and edited file types<br \/>\n\/\/ are. When disabled, telemetry is neither recorded or sent.<br \/>\n\/\/ A setting of auto will enable telementry in dev builds, and disable<br \/>\n\/\/ telemetry in regular builds.<br \/>\n&#8220;enable_telemetry&#8221;: &#8220;auto&#8221;,<\/p>\n<p>\/\/ List any packages to ignore here. When removing entries from this list,<br \/>\n\/\/ a restart may be required if the package contains plugins.<br \/>\n&#8220;ignored_packages&#8221;: [&#8220;Vintage&#8221;]<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/* \/\/ sublime\u6559\u7a0b 1. \u4fa7\u680f\u53ef\u4ee5\u6258\u5165\u6587\u4ef6\u5939\u8fdb\u53bb\u5373\u5f62\u6210\u4e86\u9879\u76ee 2. \u9f20\u6807\u79fb\u5230\u884c\u53f7\u4e0a\uff0c\u5373\u4f1a\u663e\u793a\u6298\u53e0\u7684\u2026 <span class=\"read-more\"><a href=\"https:\/\/web.jofar.cn\/?p=260\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[],"class_list":["post-260","post","type-post","status-publish","format-standard","hentry","category-practice-readme","category-design-pursuit"],"_links":{"self":[{"href":"https:\/\/web.jofar.cn\/index.php?rest_route=\/wp\/v2\/posts\/260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/web.jofar.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/web.jofar.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/web.jofar.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/web.jofar.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=260"}],"version-history":[{"count":0,"href":"https:\/\/web.jofar.cn\/index.php?rest_route=\/wp\/v2\/posts\/260\/revisions"}],"wp:attachment":[{"href":"https:\/\/web.jofar.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/web.jofar.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/web.jofar.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}