Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to change the tab key to indent to four spaces by Sublime text3

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how Sublime text3 modifies the tab key to indent to four spaces. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Sublime Text is a text editor (paid software that can be tried indefinitely, but with activation prompts), as well as an advanced code editor. Sublime Text was developed by programmer Jon Skinner in January 2008 and 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 and so on. You can also customize key bindings, menus and toolbars. The main features of Sublime Text include: spell checking, bookmarking, complete Python API, Goto functions, instant project switching, multi-choice, multi-window and so on. Sublime Text is a cross-platform editor that supports operating systems such as Windows, Linux, Mac OS X and so on.

1. Click Preferences- > Setting in the menu bar, as shown in figure 2. In the pop-up Preferences.sublime-settings-User, add the following three lines: 1 / / The number of spaces a tab is considered equal to2 "tab_size": 4 translate_tabs_to_spaces 3 / / Set to true to insert spaces when tab is pressed4 "translate_tabs_to_spaces": true,5 / / set to automatically convert 6 "expand_tabs_on_save" when saving: true as shown below, save and exit.

Thank you for reading! This is the end of this article on "how to modify the Sublime text3 tab key to indent to four spaces". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report