The following tutorial column of sublime 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!
1. Click Preferences-> Setting in the menu bar, as shown in the figure
2. In the pop-up In Preferences.sublime-settings-User, add the following three lines:
// The number of spaces a tab is considered equal to "tab_size": 4, // Set to true to insert spaces when tab is pressed "translate_tabs_to_spaces": true, //设置保存时自动转换 "expand_tabs_on_save": true
As shown in the figure below, save and exit.
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!

This article explains how to execute code in Sublime Text using external tools and build systems. It details creating language-specific build systems (e.g., Python, C , JavaScript) via JSON files, and running code via Ctrl B. While Sublime Text

Sublime Text is a freemium code editor offering full functionality for free, albeit with occasional license prompts. The article discusses its licensing model, feature limitations (primarily the prompts), and paid-version benefits (primarily removin

This article guides Java developers on configuring Sublime Text for compiling and running Java code. It details setting up a custom build system (JavaC.sublime-build) to handle compilation and execution, emphasizing JDK installation and PATH environ

This article explains how to run C code in Sublime Text. It emphasizes that Sublime Text needs an external compiler (like GCC) and a build system (a .sublime-build file) to compile and execute C code. The process involves installing a compiler, defi

This article explains Sublime Text's per-file encoding handling, lacking a global default. It emphasizes UTF-8 as the best practice for consistency and broad compatibility, advising users to explicitly save files with the chosen encoding and levera

Sublime Text is a fast, customizable cross-platform text editor popular with developers. Its key features include multiple selections, Goto Anything, a command palette, and extensive plugin support. While free to use, a license removes nag screens a

This tutorial guides Sublime Text installation on Windows, package management (using Package Control or manual methods), and interface customization (themes, keybindings, settings, plugins). It addresses the common issue of setting up and personali

This article explains Sublime Text's powerful built-in column selection feature. It details activation methods (Alt/Option key mouse drag), selection manipulation using the mouse and keyboard shortcuts, and clarifies that dedicated plugins aren't


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Linux new version
SublimeText3 Linux latest version

Notepad++7.3.1
Easy-to-use and free code editor

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver CS6
Visual web development tools
