官方网站


简介

Sublime Text 是一个文本编辑器(收费软件,可以无限期试用,但是会有激活提示弹窗),同时也是一个先进的代码编辑器。Sublime Text是由程序员Jon Skinner于2008年1月份所开发出来,它最初被设计为一个具有丰富扩展功能的Vim。
Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

以下截图版本基于:Version 3.2.2 Build 3211


Windows安装

下载

  • 点击上面官方下载链接,选择对应系统的安装包下载

image.png

安装

  • 双击安装包安装,选择是;

image.png

  • 选择安装文件夹,点击下一步;

image.png

  • 是否添加(资源管理器联系上下文菜单)右键菜单,添加后可以右键相关文件使用sublimt text打开;(默认不勾选,建议勾选),点击下一步;

image.png

  • 确认安装信息,点击下一步;

image.png

  • 点击finish完成安装

image.png


插件

软件安装完毕后,需要安装插件管理Package Control才能下载安装插件

安装Package Control

  • 打开**Tools->Install Package Control...**

image.png

  • 等待一会,提示安装完成

image.png

安装插件

  • 打开Preferences->Package Control,或使用快捷键Ctrl+shift+P

image.png

  • 输入IP,点击选择Install Package

image.png

  • 等待片刻,在弹出框输入需要安装的插件名称或简称

image.png

安装ChineseLocalization中文插件

软件安装后默认为英文界面,需要下载安装ChineseLocalization插件支持中文。

  • 打开Preferences->Package Control

image.png

  • 输入IP,点击选择Install Package

image.png

  • 等待片刻,在弹出框输入clz,选择ChineseLocalization

image.png

  • 等待显示下面文件即安装完成

image.png


常用插件清单


常用插件说明

Convert To UTF8

GitHub:https://github.com/seanliang/ConvertToUTF8

  1. Package Control Messages
  2. ========================
  3. ConvertToUTF8
  4. -------------
  5. ConvertToUTF8
  6. ==================
  7. With this plugin, you can edit and save the files which encodings are not supported by Sublime Text currently, especially for those used by CJK users, such as GB2312, GBK, BIG5, EUC-KR, EUC-JP, etc.
  8. Configuration
  9. ------------------
  10. Please check ConvertToUTF8.sublime-settings file for details. You should save your personal settings in a file named "ConvertToUTF8.sublime-settings" under "User" folder.
  11. * encoding_list: encoding selection list when detection is failed
  12. * max_cache_size: maximum encoding cache size, 0 means no cache (default: 100)
  13. * max_detect_lines: maximum detection lines, 0 means unlimited (default: 600)
  14. * preview_action: converting the file's content to UTF-8 when previewing it (default: false)
  15. * default_encoding_on_create: specific the default encoding for newly created file (such as "GBK"), empty value means using sublime text's "default_encoding" setting (default: '')
  16. * convert_on_load: convert the file's content to UTF-8 when it is loaded (default: true)
  17. * convert_on_save: convert the file's content from UTF-8 to its original (or specific) encoding when it is saved (default: true)
  18. * convert_on_find: convert the text in Find Results view to UTF-8 (default: false)
  19. * lazy_reload: save file to a temporary location, and reload it in background when switching to other windows or tabs (default: false)
  20. Contact me
  21. ------------------
  22. Please send me your questions or suggestions: sunlxy (at) yahoo.com or http://weibo.com/seanliang
  23. For more information, please visit: https://github.com/seanliang/ConvertToUTF8

SFTP

官网:https://wbond.net/sublime_packages/sftp

  1. Package Control Messages
  2. ========================
  3. SFTP
  4. ----
  5. Thanks for installing Sublime SFTP! Below are some quick notes to get you
  6. started with the plugin. Please see https://wbond.net/sublime_packages/sftp for
  7. the full documentation.
  8. There are two major modes of operation:
  9. 1. Mapping a local folder to a remote folder
  10. 2. Working off of a server
  11. Mapping a Local Folder to a Remote Folder
  12. ----
  13. To map a local folder to a remote folder, right-click on it in the side bar
  14. and select the SFTP/SFTP > Map to Remote... You will enter your connection
  15. parameters and a new file will be created named sftp-config.json.
  16. Once this file has been saved, all files in that folder and all subfolders
  17. will have various operations available via the side bar context menu, editor
  18. context menu and command palette.
  19. Working off of a Server
  20. ----
  21. To work off of a server, use the File menu and select SFTP/FTP > Setup Server...
  22. You will enter your connection parameters and options then save the file with
  23. the name you want to give the connection.
  24. Once the server config is saved, you will be automatically connected to the
  25. server and you can browse and perform actions via the quick panel.
  26. Unfortunely due to limitations of the Sublime Text API, it is not possible
  27. to present the remote filesystem in the side bar. There are, however, key
  28. bindings for connecting to servers to help reduce the amount of time remote
  29. file operations take.
  30. Support
  31. ----
  32. To learn more about the features and settings, please visit
  33. https://wbond.net/sublime_packages/sftp.
  34. If you are having trouble, please visit
  35. https://wbond.net/sublime_packages/sftp/support. The support page includes
  36. instructions for capturing a debug log that will be useful if you believe
  37. you are experiencing a bug.