为什么Dreamweaver CS6不能像Komodo Edite7那样很好地编写代码?
使用DREAMWEAVER CS6,我的代码如下所示:
<!DOCTYPE html>
<html>
<head>
<title>Test DW</title>
</head>
<body>
<h1>Main Heading</h1>
<p>Some body content.</p>
</body>
</html>使用KOMODO EDIT 7,它看起来是这样的:
<!DOCTYPE html>
<html>
<head>
<title>Test Komod Edit</title>
</head>
<body>
<div class="wrapper">
<h1>Main Heading</h1>
<p>Some body content.</p>
</div>
</body>
</html>如何使用Dreamweaver实现相同的效果?
发布于 2013-04-23 17:30:08
转到“命令”并选择“应用源格式”,这将对所有代码应用缩进格式。如果您只想格式化选定的代码,请使用下面的“将源代码格式应用于选定内容”选项。
发布于 2013-01-08 04:08:01
Dreamweaver首选参数(Ctrl或Cmd + U) >代码格式。还有高级格式化菜单,允许对不同的语言进行特定的格式化(例如css和javascript)。如果这仍然不是你喜欢你的标签,同时打字。。。
https://stackoverflow.com/questions/14203178
复制相似问题