Parsing the eclipse with space in PHP replace tab _php Tutorial

Source: Internet
Author: User
I use Eclipse for PHP project development, according to the company development norms, to use 4 spaces to replace the TAB key, search on the Internet a lot, are not too comprehensive, now the detailed configuration is displayed as follows:
first go to Preferences: window (Windows), Preferences (preferences ...)
1. windows= "preferences=" general= "editors=" text editors tick "Insert spaces for tabs"
2. windows= "preferences=" phpeclipse= "php=" typing tick "insert spaces for tabs (...) )”
This completes the configuration.

However, because of the different versions, some of these problems can occur: if{and then press ENTER to wrap, will automatically indent a tab and this tab is not correctly replaced with 4 spaces, the workaround
Enter:Windows= "preferences=" phpeclipse= "php=" formatter =>style See option "indentation is represented by a tab" checked (by default), if selected, This option is not selected, and if unchecked, this option is selected and restarting eclipse will find the settings successful

http://www.bkjia.com/PHPjc/327804.html www.bkjia.com true http://www.bkjia.com/PHPjc/327804.html techarticle I use Eclipse for PHP project development, according to the company development norms, to use 4 spaces to replace the TAB key, search on the Internet a lot, are not too comprehensive, now will be detailed configuration display as follows: ...

  • 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.