Sublime Text2 Uninstall and re-install (reprint)

Source: Internet
Author: User
Tags windows 1252 word wrap

Many students use sublime text2, there are some strange bugs, and restart can not be repaired.

Then, you will want to uninstall sublime Text2 and then reinstall.

However, you will find that the bug persists after reinstalling, and that the plugins you have previously installed are still intact.

This is because only the software part was uninstalled while the configuration file was not deleted.

If you want a brand new sublime Text2 software, you only need to delete the configuration file, restart the sublime Text2 software, will regenerate a new clean configuration file. Just like the first time you install a sublime text2 generated configuration file. There is no plug-in and user-own settings.

Sublime Text2 Auto-generated configuration file path:

D:\Users\userName\AppData\Roaming\

UserName is the user name of the computer you logged into. Under the Roaming folder, there is a sublime text2 this is the auto-generated configuration folder. Delete this folder and you will get a brand new sublime Text2 software. Then you can reinstall the plugin you want.

Sublime Text 2 Setup file

The following reprint a configuration file Settings translation: http://www.feelcss.com/sublime-text-2-settings.html

Preferences.sublime-settings file:

While you can edit the this file, it's best to put your changes in//"User/preferences.sublime-settings", which overrides T He settings in here.////settings could also be placed in file type specific options files, for//example, in Packages/pytho N/python.sublime-settings for Python files. {//sets the colors used within the text area//theme file path "Color_scheme": "Packages/color scheme-default/monokai.tmtheme",/ /Note that the Font_face and Font_size is overriden in the platform//specific settings file, for example, "Preferences  (Linux). Sublime-settings ".//Because of this, setting them here would have no effect:you must set them//in your User File preferences.//set the font and size, must be overridden in the Settings-user, here settings do not have any effect "font_face": "Consolas", "font_size": 12,//Valid options are "no _bold "," No_italic "," No_antialias "," Gray_antialias ",//" Subpixel_antialias "and" No_round "(OS X only)//font options: No_ Bold does not display bolded characters, No_italic does not display italics, No_antialias and no_antialias off anti-aliasing//Subpixel_antialias and No_round are "font_options" unique to OS X systems: [],//characters that is considered to separate words//double-clicking on the text will select the current content, if the following characters appear, it will be truncated "word_separators": "./() \" '-:,.; [email protected]#$%^&*|+=[]{} ' ~? ',//Set to False to prevent lines numbers being drawn in the gutter//show line number "Lin E_numbers ": true,//Set to False to hide the gutter altogether//Show line number sidebar" gutter ": true,//Spacing between the gutter and The text//line number sidebar and the text spacing "margin": 4,//Fold Buttons is the triangles shown in the gutter to Fold regions of text//whether to show code folding Press Button "Fold_buttons": true,//hides the fold buttons unless the mouse is over the gutter//no matter the mouse is not in the line number sidebar, the Code folding button has been displayed "fade_fold_but Tons ": true,//Columns in which to display vertical rulers//column displays a vertical ruler, filled with numbers in brackets, width is calculated by character" rulers ": [],//Set to True to turn s Pell checking on by default//whether to turn on spell check "Spell_check": false,//the number of spaces a tab is considered equal to//tab tab width Degree "tab_size": 4,//set to True to insert spaces if tab is pressed//true, indent and use a space instead of "translate_tabs_to_spaces" when the TAB key is encountered: F alse,//If translate_tabs_tO_spaces is true, use_tab_stops'll make tab and//backspace insert/delete up to the next tabstop//Translate_tabs_to_spa Ces set to true,tab and backspace delete/Insert action on tab Width//otherwise acting on a single space "Use_tab_stops": true,//set to False to disable detection of tabs vs. s Paces on load//False disables detection of tabs and spaces when loading "detect_indentation": true,//calculates indentation automatically when pressing enter//automatically aligns with tab stops when you press ENTER Auto_indent: true,//makes auto indent a little smarter, e.g., by indenting the next line//after a N if statement in C. Requires auto_indent to be enabled.//for the C language "smart_indent": false,//Adds whitespace up to the first O Pen bracket when indenting. requires//auto_indent to be enabled.//need to enable auto_indent, insert spaces when opening parentheses for the first time? (No test results ...) ) "Indent_to_bracket": true,//Trims white space added by Auto_indent when moving the caret off the//line.//shows whether the line alignment is based on carriage return  , tab and other operations automatically fill "Trim_automatic_white_space": true,//Disables horizontal scrolling if enabled.//May is set to true, false, or "Auto", where it'll be disabled for//source code, and otherwise enabled.//, if Auto is selected, double quotation mark "Word_wrap" is required: false,//Set to a value other than 0 to force WR  Apping at that column rather than the//window width//set the width "Wrap_width" of the text area in the Windows: 0,//set to False to prevent word wrapped Lines from being indented to the same//level//prevents the word wrap "indent_subsequent_lines" from being indented to the same level: true,//draws text centered in th e window rather than left aligned//if not defined, the file is centered (such as a newly created file) "draw_centered": false,//Controls Auto pairing of quotes, bra Ckets etc//automatically matches quotes, brackets, and so on "auto_match_enabled": true,//word list to use for spell checking//spell-checking the word lists path "dictionary": "Packag Es/language-english/en_us.dic ",//Set to True-draw a border around the visible rectangle on the minimap.//the color Of the border will is determined by the "Minimapborder" key in//the color scheme//the visual area portion of the code map with a border, the color of the border can be added on the color scheme minima Pborder key "Draw_minimap_border": false,//If enabled, would highlight any lines with a caret//highlight the line where the current cursor is "highlight_line": F alse,//Valid values are "Smooth", "phase", "blink", "wide" and "solid".//Set cursor flashing mode "Caret_style": "Smooth",//set to False to disable underlining The brackets surrounding the caret//is a special display of the current cursor in parentheses, the end of the terminal closure mark "Match_brackets": true,//Set to False if you ' d rather only h Ighlight the brackets when the caret is//next to one//is set to False, Match_brackets will only take effect if the cursor is at both ends of the parenthesis or the end-of-tail closing Mark Match_brackets_ Content ": true,//Set to false highlight square brackets. This only takes effect if//Match_brackets is true//whether the parentheses are highlighted, Match_brackets is true for "match_brackets_square": false,// Set to False to not highlight curly brackets. This only takes effect if//Match_brackets is true//whether to highlight curly braces, match_brackets for true "match_brackets_braces": false,// Set to False to not highlight angle brackets. This only takes effect if//Match_brackets is true//whether to highlight angle brackets, match_brackets for true "Match_brackets_angle": false,// Enable visualization of the matching tag in HTML and xml//HTML and XML highlight both ends of the cursor's label, affecting HTML, XML, CSS, and so on "match_tags": true,//Hig Hlights Other occurrences of the currently selected text//full text highlight the same character as the currently selected character "Match_selection": true,//Additional spacing at the  Top of each lines, in pixels//sets the spacing to the top, in pixels, the effect is equivalent to the line spacing "line_padding_top": 1,//Additional spacing at the bottom of each  Line, in pixels//sets the amount of space in pixels for each row to the bottom, the effect is equivalent to the leading "Line_padding_bottom": 1,//set to False to disable scrolling past the end of  The buffer.//on OS X, this value was overridden in the platform specific settings, so//you ' ll need  When the your user settings to override it.//is set to false, there is no buffer "scroll_past_end" when scrolling to the bottom of the text: true,//This controls what happens when Pressing up or off when on the first//or last line.//on OS X, this value is overridden in the platform specific settin GS, so//you'll need to place the this line in your user settings to override it.//is set to True when the cursor is already in the first row, then up then to the beginning, if the cursor is already in the last row, then do WN jumps to the end of the line "Move_to_limit_on_up_down": false,//Set to ' none ' to turn off drawing white space, ' selection ' to draw only the// White space within the SElection, and "all" to draw all white space//when you press space or tab, the actual result will be a dot (a space a dot) or white horizontal line (the width of the tab set by the Tab_size), selected to see// When set to none, these dots and lines are not displayed at any time//when set to selection, only the points and lines in the selected state are displayed. "Draw_white_space": "Selection",//set to False To turn off the indentation guides.//the color and width of the indent guides is customized by editing//the CORRESPO nding. tmTheme file, and specifying the Colors "guide",//"Activeguide" and "stackguide"//tab stops are displayed for the lines, colors can be set in the theme file , activeguide,stackguide) "Draw_indent_guides": true,//Controls how the Indent guides is drawn, valid options are//"Draw_ Normal "and" draw_active ". Draw_active'll draw the indent//guides containing the caret in a different color.//tab stops on the the line, draw_normal as always shown, draw_acti ve to show only the code where the current cursor is located control domain "indent_guide_options": ["Draw_normal"],//Set to true removing trailing when white space on save//is true  , the extra space "Trim_trailing_white_space_on_save" after each line is deleted when the file is saved: false,//Set to True and ensure the last lines of the file ends in a newline//CHaracter when saving//is true, the cursor will change the last line of the file "Ensure_newline_at_eof_on_save" when saving the file: false,//Set to True to automatically Save files when switching to a different file//or application//switch to another file tag or click Other non-software area, the file automatically save "Save_on_focus_lost": false,/ /The encoding to if the encoding can ' t be determined automatically.//ASCII, UTF-8 and UTF-16 encodings would be aut omatically detected.//encoding is not automatically detected when encoding, ASCII, UTF-8 and UTF-16 "fallback_encoding" are automatically detected: "Western (Windows 1252)",//encoding Used when saving new files, and files opened with an undefined//encoding (e.g., plain ASCII files). If a file is opened with a specific//encoding (either detected or given explicitly), this setting would be//ignored, and The file is being saved with the encoding it is opened//with.//default encoding format "default_encoding": "UTF-8",//Files containing nul L bytes is opened as hexadecimal by default//files that contain empty bytes are opened by default to Hex "enable_hexadecimal_encoding": true,//determines what CH Aracter (s) is used to terminate each line in newfiles.//Valid values is ' system ' (whatever the OS uses), ' Windows ' (CRLF) and//' Unix ' (LF only).//What character does the Terminator "de" at the end of each line Fault_line_ending ":" System ",//When enabled, pressing TAB would insert the best matching completion.//when disabled, tab Would only trigger snippets or insert a tab.//shift+tab can is used to insert the explicit tab when Tab_completion is//ena When bled.//is set to Enabled, pressing tab between a string inserts a tab character//set to True, pressing TAB fills the "Tab_completion" with code auto-matching in front and back of the environment: true,//Enable Auto Complete to is triggered automatically when typing.//code hint "Auto_complete": true,//the maximum file size where auto Comple Te'll be automatically triggered.//code hint size limit "auto_complete_size_limit": 4194304,//the delay, in MS, before the Auto Co Mplete window is shown after TYPING//code hint delay display "Auto_complete_delay": 50,//Controls what scopes auto complete would be trig Gered in//code hint control range "Auto_complete_selector": "Source-comment",//Additional situations to trigger auto complete//trigger code "Auto_complete_triggers" In other cases: [{"Selector ":" text.html "," Characters ":" < "}],//by default, auto complete would commit the current completion on enter./ /This setting can being used to make it all on tab instead.//completing on tab is generally a superior option, as it R emoves//ambiguity between committing the completion and inserting a newline.//set to False, select the prompt code press ENTER or click to output, However, selecting true does not output but a direct line wrap "Auto_complete_commit_on_tab": false,//Controls If auto Complete is shown when snippet fields are Activ e.//only relevant if Auto_complete_commit_on_tab is true.//Auto_complete_commit_on_tab must be true to control the activity of code hints (not understood ...) "Auto_complete_with_fields": false,//by default, Shift+tab would only unindent if the selection spans//multiple lines. When pressing Shift+tab at the other times, it'll insert a//tab CHARACTER-THIS allows tabs to being inserted when Tab_completi On is//enabled. Set Shift+tab always unindent, instead of//inserting tabs.//is set to false, use SHIFT + TAB to insert tab "Shift_tab _unindent ": true,//If True, tHe selected text would be copied to the find panel when it's s//shown.//on OS X, this value was overridden in the platform Specific settings, so//you'll need to place the line in the your user settings to override it.//The selected text is automatically copied to the Find panel when you press CTRL + F  text box "Find_selected_text": true,////User Interface settings////The theme controls the look of the Sublime text ' s UI (buttons, tabs, scroll bars, etc)//Datapackagestheme-defaultdefault.sublime-theme control software Theme "theme": "Default.sublime-theme",// Set to 0 to disable smooth scrolling. Set to a value between 0 and 1 to//scroll slower, or set to larger than 1 to scroll faster//scrolling speed "scroll_speed": 1.0,// Controls side bar Animation when expanding or collapsing folders//left Sidebar folder animation "tree_animation_enabled": true,//tab Close button "sh Ow_tab_close_buttons ": true,//OS X 10.7 Only:set to True to disable Lion style full screen support.//Sublime Text must Be-restarted for the-to-take effect.//is for OS X "Use_simple_full_screen": false,//Valid values is "system", "EnabLed "and" disabled "//horizontal vertical scroll bar: System and disabled are displayed by default, enabled for auto-hide display" overlay_scroll_bars ":" System ",////application Behavior settings////Exiting The application with hot_exit enabled would cause it to close//immediately without prompting . Unsaved modifications and open files will//be preserved and restored when next starting.////Closing a window with a Ociated project would also close the window//without prompting, preserving unsaved changes in the workspace file//Alongsi De the project.//hot launch feature! Exit will not be prompted to save the file, but the direct exit//The next time you open the software, the file remains in the state before exiting, did not have time to save the content is in, but did not really write in the original file "Hot_exit": true,//Remember_open_files makes The application start and the last set of//open files. Changing this to false would have no effect if hot_exit is//true//software using the final settings to open the file, Hot_exit to True when no effect "remember_open_files": true,//OS X only:when files is opened from finder, or by dragging onto the//dock icon, this controls if a new window I s created or not.//for OS X "Open_files_in_new_window": true,//Set to True to Close windows as soon as the last file is closed, unless//there ' s a folder open within the window. This is all enabled on OS x,//changing it won ' t modify the behavior.//for OS X "Close_windows_when_empty": true,// Which files are displayed on the sidebar//Folder_exclude_patterns and File_exclude_patterns control which files//is listed in folders on the side B Ar. These can also is set on a per-//project basis. " Folder_exclude_patterns ": [". SVN ",". Git ",". Hg "," CVS "]," file_exclude_patterns ": [" *.pyc "," *.pyo "," *.exe "," *.dll ", "*.obj", "*.O", "*.a", "*.lib", "*.so", "*.dylib", "*.NCB", "*.sdf", "*.suo", "*.pdb", "*.idb", ". Ds_store "," *.class "," *.psd "," *.db "],//these files would still show up at the side bar, but won ' t is included in//Goto  Anything or Find in Files "Binary_file_patterns": ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.ttf", "*.tga", "*.dds", "*.ico", "*.eot", "*.pdf", "*.swf", "*.jar", "*.zip"],//List any packages to ignore here. When removing entries from this list,//a restart may be required If the package contains plugins.//delete the plugin you want to ignore, you need to restart "ignored_packages": ["Vintage"]} 

Sublime Text2 Uninstall and re-install (reprint)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.