Home > Article > Development Tools > How to modify the tab key to indent to four spaces in Sublime text3
The tutorial column of sublime below will introduce to you how to modify the tab key in Sublime text3 to be indented to four spaces. I hope it will be helpful to friends in need!
Sublime Text is a text editor (paid software, can be tried indefinitely, but there will be an activation prompt pop-up window), and it is also an advanced code editor device. Sublime Text was developed by programmer Jon Skinner in January 2008. It was originally designed as a Vim with rich extension functions.
Sublime Text has a beautiful user interface and powerful features such as code thumbnails, Python plug-ins, code snippets, etc. Key bindings, menus and toolbars can also be customized. The main features of Sublime Text include: spell check, bookmarks, complete Python API, Goto function, instant project switching, multi-selection, multi-window and more. Sublime Text is a cross-platform editor that supports Windows, Linux, Mac OS X and other operating systems.
1 // The number of spaces a tab is considered equal to2 "tab_size": 4,3 // Set to true to insert spaces when tab is pressed4 "translate_tabs_to_spaces": true,5 //设置保存时自动转换6 "expand_tabs_on_save": true
The above is the detailed content of How to modify the tab key to indent to four spaces in Sublime text3. For more information, please follow other related articles on the PHP Chinese website!