search
Homephp教程PHP开发Install the code formatting plug-in CodeFormatter on Sublime Text 3

1. Understand the CodeFormatter plug-in

                                                                                  Written code in Sublime Text 3. In order to make our code format beautiful and tidy, we need a plug-in that can automatically format the code. I found that the CodeFormatter plug-in is good here. It supports several common programming languages:

* PHP
* JavaScript/JSON
* HTML
* CSS
* SCSS
* Python
* Visual Basic/VBScript
* Coldfusion/Railo/Lucee

2. Install the CodeFormatter plug-in

After starting the Sublime Text 3 program, use the shortcut key "Ctl+Shift+P", then select "Package Control: Install Package",

Install the code formatting plug-in CodeFormatter on Sublime Text 3

Wait for the list of installable items In the plug-in list, enter "CodeFormatter" to find it and click to install.

Install the code formatting plug-in CodeFormatter on Sublime Text 3

3. Set up CodeFormatter

According to your own programming environment, you can set some settings through "Preferences > package settingttings > codeFormatter > settings-user" Parameters, such as PHP installation path.

4. Use CodeFormatter

to open the file that needs formatted code, such as the p020.php file here, and then use the shortcut key "ctrl+alt+f".

Install the code formatting plug-in CodeFormatter on Sublime Text 3

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment