Install and use sublime text 2 and sublimetext2
1. First download Sublime Text: http://www.sublimetext.com/
2, basic settings, refer to this article: http://blog.jobbole.com/40660/
{"auto_complete": false,"caret_style": "solid","color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night-Eighties.tmTheme","draw_white_space": "all","ensure_newline_at_eof_on_save": true,"file_exclude_patterns":[".DS_Store","*.pid","*.pyc"],"find_selected_text": true,"fold_buttons": false,"folder_exclude_patterns":[".git","__pycache__","env","env3"],"font_face": "Ubuntu Mono","font_options":["subpixel_antialias","no_bold"],"font_size": 16.0,"highlight_line": true,"highlight_modified_tabs": true,"ignored_packages":["Vintage"],"line_padding_bottom": 0,"line_padding_top": 0,"rulers":[72,79],"scroll_past_end": false,"show_minimap": false,"tab_size": 4,"theme": "Soda Dark.sublime-theme","translate_tabs_to_spaces": true,"trim_trailing_white_space_on_save": true,"wide_caret": true,"word_wrap": true,"wrap_width": 80}
3. Plug-in Installation;
General Installation Method: Open sublime text2-> Preferences-> Browse Packages, decompress the downloaded file from github, and rename it the name of the corresponding plug-in to the folder.
4. Install the python plug-in SublimeREPL;
Set to run the current file directly: http://blog.sina.com.cn/s/blog_6476250d0101a881.html
(1) Open C: \ Users \ MyPC \ AppData \ Roaming \ Sublime Text 2 \ Packages \ SublimeREPL \ config \ Python \ Main. in the sublime-menu file, locate "id": "repl_python" and change the cmd attribute value under the args attribute in this JSON object to ["python", "-I ", "-u", "$ file_basename"]
(2) Click Perferences-Key Bindings-Users to set the shortcut Key.
[{ "keys": ["f5"], "caption": "SublimeREPL: Python", "command": "run_existing_window_command", "args": { "id": "repl_python" , "file": "config/Python/Main.sublime-menu" } }]
(3) install pylint and
Pylinter plug-in
pip install pylint
5. Others
Some good plug-ins: http://ipestov.com/the-best-plugins-for-sublime-text/
You can also read these two articles:
Http://www.xuanfengge.com/practical-collection-of-sublime-plug-in.html
Http://www.xuanfengge.com/sublime-text-2-artifact.html
Column Editing: Shift + right-click and select; scroll wheel in the middle of the mouse.
How can I install HtmlTidy in sublime Text2?
Let's take a look at his shortcut key.
Find a keymap file in the Packages/htmlTidy directory and check its shortcut keys.
Problems caused by sublime text2 plugin installation
You can check the package list in package control to see which plug-ins are installed. You can disable some plug-ins to see if they are normal and will not be normally uninstalled.