¡¡¡¡³ÌÐò´úÂëÃÀ»¯¹¤¾ß(pretty print program)µÄʹÓÃ
ʹÓÃÒ»ÖµĴúÂëÃÀ»¯¹¤¾ß(Pretty print program)µÄÖ÷ÒªÔÒòÊÇʹ³ÌÐòµÄ½á¹¹ºÍ±àÂëÑùʽ±ê×¼»¯£¬ÕâÑù´úÂëÒ×ÓÚÔĶÁºÍÀí½â¡£Ê¹ÓúõıàÂëÔ¼¶¨¿ÉÒÔʹԴ´úÂëÃ÷°×¡¢Ò׶Á¡¢×¼È·£¬¸ü¼ÓÖ±¹ÛÇÒÓëÆäËûÓïÑÔÔ¼¶¨±£³ÖÒ»Ö¡£Ò»¸öËõ½øÁ¼ºÃµÄ´úÂë¿ÉÒÔ´ó´óÌá¸ß´úÂëÔĶÁµÄËٶȣ¬´Ó¶ø½µµÍÈí¼þά»¤µÄ³É±¾¡£
ÒÔÏÂÊǼ¸ÖÖ¿ª·ÅÔ´´úÂëµÄ´úÂëÃÀ»¯¹¤¾ßµÄ½éÉÜ£º
¹¤¾ßÃû³Æ ÊÊÓÃÓïÑÔ ¼ò½é
indent c cÊÇ×î³ÉÊìµÄ¿ª·¢ÓïÑÔ£¬ËùÒÔ´úÂëÃÀ»¯¹¤¾ßÒ²ÊÇ×îÔç³öÏֵġ£indentÕâ¸ö´ÊÎÒÊÇ´ÓÕâѧµ½µÄ
perltidy perl
perlµÄÒ»¹á·ç¸ñ£ºperltidy±¾ÉíÒ²ÊÇperlдµÄ¡£ÊÇÎÒ¿´µ½µÄ×îºÃµÄPERL´úÂëÃÀ»¯¹¤¾ß¡£ÒÔǰдµÄÒ»¸öʹÓüò½é¡£
astyle c c++ Java maybe also for PHP without Html mixed Ò»¸öËٶȺܿìµÄC/C++/JavaÔ´´úÂë. Ò»¸öÅóÓѸæËßÎÒÓÃËüÀ´¸ñʽ»¯PHP³ÌÐò£¨µ±È»ÊDz»ºÏHTML´úÂë»ìÔÚÒ»ÆðµÄ£©Ò²ºÜÓÐЧ¡£
htmltidy html HTML´úÂëµÄ¾À´í¹¤¾ß£¬¿ÉÒÔ°ïÖúÄãµÄHTML´úÂë¸üºÃµÄ·ûºÏW3C¹æ·¶
a2ps any a2ps ¿ªÊ¼ÊÇÒ»¸öÈÎÒâ¸ñʽµ½PS¸ñʽ£¨any to Post Script£©¸ñʽµÄת»»Æ÷£¬ÏÖÔÚ³ÉΪÁËÒ»¸öÈÎÒâ¸ñʽת»»µÄ¹¤¾ß£¬ÆäÖÐÒ²°üº¬ÁË´úÂëÃÀ»¯¹¦ÄÜ pretty printing features £¬ÒòΪֻҪÓÐÁËÔªËصĶ¨ÒåÎļþ£¬Äã¿ÉÒÔ´´½¨³öÈÎÒâÓïÑԵĸñʽת»¯µÄÑùʽ±í¡£
ʹÓý¨Ò飺¾¡Á¿Ê¹ÓÃרÃÅÉè¼ÆµÄ´úÂëÓÅ»¯Æ÷£¬±ÈÈ磺perltidy¿Ï¶¨Òª±Èa2ps×öµÄºÃ¡£
³ÌÐòÔ±Ó¦¸ÃÊÇÉÆÓÚ¹µÍ¨µÄ£¬´úÂëÃÀ»¯µÄÒâÒåÔÚÓÚÌåÏÖÁ˱à³ÌÕ߶ÔËûÈ˵Ä×ðÖØ£¬´Ó¶øÈóÌÐòÔ±Ö®¼ä¸üºÃµÄ¹µÍ¨¡£ÒÔÉϹ¤¾ßÖ»ÊÇ´úÂë¸ñʽËõ½øµÄÃÀ»¯£¬×ñÊØÍêÕûµÄ´úÂë¹æ·¶¿ÉÒԲο¼ÒÔÏÂÎĵµ£º
GNU Coding Standards
Code Conventions for the Java(TM) Programming Language
PHP Coding Standard
perlstyle
www.w3c.org
£¨³ö´¦£ºhttp://www.sheup.com£©