Sublime Text 3 配置

下載

    官方地址:http://www.sublimetext.com/3python

修改默認文件文件路徑

  •     正常狀況:ios

    安裝完成sublime Text 3以後別運行。直接進入安裝目錄新建一個叫作「Data」(注意大小寫)的文件夾。app

  •     特殊狀況:ide

    若是安裝完成以後已經運行過Sublime Text 3 則須要進入 %appdata/Roaming/中的 Sublime Text 3 目錄刪除。而後進入安裝目錄新建一個叫作「Data」(注意大小寫)的文件夾。ui

安裝控制檯

打開Sublime Text 3 按快捷鍵 Ctrl + ~ 彈出命令臺,在命令窗口中輸入如下代碼回車:url

import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = 
sublime.installed_packages_path(); urllib.request.install_opener( 
urllib.request.build_opener( urllib.request.ProxyHandler()) ); 
open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 
'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())

安裝完成以後,重啓 Sublime Text 3 以後就愉快的安裝插件啦( Ctrl +Shift + P)--> Ctrl + P。spa

經常使用插件

  1. ConvertToUTF8.net

  2. ColorPicker插件

  3. HTML-CSS-JS Prettify代理

  4. Emmet

  5. SideBarEnhancements

  6. SublimeLinter

  7. Git

  8. SVN

  9. 其餘....

帥氣主題

  • Preap

    地址:https://packagecontrol.io/packages/Preap

    配置:本身看咯。


配置

設置代理

    "http_proxy": "http://127.0.0.1:8080",    
    "https_proxy": "http://127.0.0.1:8080",

顯示空格及製表符

"draw_white_space": "all"

我的配置1

{
  "color_scheme": "Packages/material-color-scheme/sublime/material-dark.tmTheme",
  "ignored_packages":
  [
      "Vintage"
  ],
  "theme": "preap.sublime-theme",
  "font_face": "Source Code Pro",
  "font_size": 17,
  "highlight_line": true,
  "caret_style": "smooth",
  "show_full_path": true,
  "ignored_packages":
  [
      "Vintage"
  ],
  "rulers":
  [
      80
  ],
  "bold_folder_labels": true,
  "save_on_focus_lost": true,
  "scroll_past_end": true,
  "show_encoding": true,
  "show_line_endings": true,
  "tab_size": 2,
  "translate_tabs_to_spaces": true,
  "trim_trailing_white_space_on_save": true,
  "match_tags": true,
  "auto_complete": true,
  "http_proxy": "http://localhost:8080",
  "https_proxy": "http://localhost:8080",
  "match_brackets_content": true,
  "draw_white_space": "all"
}

我的配置2

{
    "auto_complete_commit_on_tab": false,
    "auto_complete_delay": 0,
    "auto_complete_with_fields": true,
    "auto_indent": true,
    "auto_match_enabled": true,
    "bold_folder_labels": true,
    "color_scheme": "Packages/material-color-scheme-master/sublime/material-light.tmTheme",
    "curiosity_sidebar_font_large": true,
    "curiosity_sidebar_font_normal": true,
    "curiosity_sidebar_font_small": true,
    "curiosity_sidebar_font_xlarge": true,
    "curiosity_sidebar_large": true,
    "curiosity_sidebar_normal": true,
    "curiosity_sidebar_small": true,
    "curiosity_sidebar_xlarge": true,
    "curiosity_sidebar_xsmall": true,
    "default_encoding": "UTF-8",
    "dpi_scale": 1.0,
    "draw_white_space": "all",
    "fade_fold_buttons": false,
    "fold_buttons": true,
    "font_face": "Source Code Pro",
    "font_size": 14,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "hot_exit": false,
    "http_proxy": "http://127.0.0.1:1080",
    "https_proxy": "http://127.0.0.1:1080",
    "ignored_packages":
    [
        "Vintage"
    ],
    "match_brackets_angle": true,
    "match_brackets_content": true,
    "match_tags": true,
    "remember_open_files": false,
    "smart_indent": true,
    "tab_size": 4,
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true,
    "update_check": false,
    "word_wrap": "false"
}





版權聲明:本文爲博主原創文章,未經博主容許不得轉載。

by: ThoughtSong

相關文章
相關標籤/搜索