Zend studio/eclipse Indent Settings

Source: Internet
Author: User
Tags zend

First, Window–preferences opens the Preferences Configuration dialog box:

Then find Php–code Style–formatter, as shown:

Note Here the active profile drop-down box, which shows you the code style configuration file you are using, I am currently: PHP conventions [built-in], in preview previews you can see that indentation is all tab tabs:

to inherit PHP conventions [built-in] style, first select PHP conventions [built-in], then click the Show button:

Then the Indentation tab is found immediately on the open dialog, and the general settings–tab policy and indentation size, I'll change tab policy to spaces, indentation The size is changed to 2 (indicating that 2 spaces are 1 indents):

Clicking OK will prompt you to save, save a profile, and avoid modifying the built-in (built-in) configuration file.

Similarly, because Zend Studio is based on Eclipse, Eclipse can also modify this.

Zend studio/eclipse Indent Settings

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.