Sublime text3修改tab鍵縮進


1.菜單欄中點擊Preferences(首選項)->Setting-User

2. 添加如下三行代碼:

// The number of spaces a tab is considered equal to
   "tab_size": 2,
// Set true to insert spaces when tab is pressed
   "translate_tabs_to_spaces": true,
//設置保存時自動轉換
  "expand_tabs_on_save": true

3. 如下圖,保存退出即可:


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM