Configure sublime text to PHP ide____php

Source: Internet
Author: User
Tags sublime text
1. Create PHP compiling system <1> Configure system environment variables

In the environment variable set inside, find the system variable-path, add "C:\PHP" at the end; You can <2> add a compilation system to the sublime

Tool-build system-new Build System ...

Replace the default content with the following:

{"     cmd": ["PHP", "$file"],    "File_regex": "php$",     "selector": "Source.php"}
Then save it in the default path and change the file name to Php-sublime-buildReboot Sublime, use ctrl+b to compile PHP file 2, SublimelinterA code error hint plug-in, support Js,css,html,java,php,python,ruby, etc. <1> install with a Package management tool (package control), how the package management tool itself is installed in another Bovenrio introduction:
http://blog.csdn.net/wzj0808/article/details/51671841
after the <2>sublimelinter installation is complete, make the following settings:Open preferences->package Settings->sublimelinter->settings-user: Input:-run mode settings
"Sublimelinter": "Save-only",
Sublimelinter operating mode, a total of four kinds, the meaning is as follows:
True-instantly checks in the background when the user enters;
False-checksums are only performed at initialization time;
"Load-save"-Verify when the file is loaded and saved;
"Save-only"-Checks when the file is saved;
Recommended set to "Save-only", so that only after writing code, save the time to verify, Sublime Text running will be more fluent.
-Calibration Engine
"Sublimelinter_executable_map":  
{"  
    php": "C:\\php\\php.exe"  //Windows to use \  
}  
3, PhpcsPHP syntax hints, same with package management tool installation




Related Article

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.