Sublime text under Configuration sublimelinter PHP code check

Source: Internet
Author: User
Tags sublime text
Sublimelinter is a plug-in of the front-end coding tool--sublime Text that highlights the nonstandard and wrong wording of the code that prompts the user to write support for JavaScript, CSS, HTML, Java, PHP, Python, Ruby More than 10 kinds of development languages.

Sublimelinter's homepage address

Https://github.com/SublimeLinter/SublimeLinter

Installing Sublimelinter

Ctrl + Shift + P calls out the sublime text package management tool, enters Sublimelinter, and installs the carriage return.

Configure Sublimelinter

Open the Sublimelinter configuration file, Preferences->package Settings->sublimelinter->settings-user, for the following configuration 1. Operating mode:

"Sublimelinter": "Save-only",

Sublimelinter operating mode, a total of four kinds, the meaning is as follows:
True-instant validation in the background when user input;
False-The checksum is only performed at initialization time;
"Load-save"-check when the file is loaded and saved;
"Save-only"-Verify when the file is saved;
Recommended set to "Save-only", so only after writing code, save the time to verify, Sublime Text run will be more fluent.

  1. Calibration engine

"Sublimelinter_executable_map":    {        "php": "C:\\xampp\\php\\php.exe"  //Windows to use \ \    }

After you save it, you can see it's working.
[Caption Id= "attachment_1052" align= "AlignCenter" width= "300"]

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.