简体   繁体   中英

HTML code formatting in phpDesigner IDE version 7.0

I am not being able to format the HTML tags using IDE. PHP code beautifier in this IDE only formats the PHP code, not HTML tags.

Is there anyone, who is using PHP designer 7, to help me in this?

In PHP Desinger 7:

  1. CTRL + SHIFT + F1 or
  2. 'PHP' menu > 'Code Beutifier for PHP'

Note: this helps in formatting PHP code, won't help for HTML or css or SCRIPT in well-format

In PHP Desinger 8 :

PHP Desinger 8 has the features for them as well. Visit this link for more detail of PHP designer 8.

phpDesigner version 8.1.2

  1. tools -> HTML CSS Javascript Formatter

在此输入图像描述

  1. then select Format HTML

在此输入图像描述

  1. click ok

A little search around here would have helped you find out that someone else has asked the exact same question and solved it himself - posting the solution for others to enjoy.

Quoting " How to format source code in phpDesigner 7.x "

For people who gets same problem: there are 2 ways

  1. Press combination: Ctrl + Shift + F1
  2. On the menu bar, select 'PHP' menu. Then select 'Code Beutifier for PHP' (the bottom option). Do the same with CSS and HTML

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM