1

in visual studio we can add "REGION" so we can collapse and expand our code in category so i easy to find when our code is too many line aand we can keep it neat with that

ex :

#region method
code here
#endregion

is there some code in dreamweaver that worked like that?

*Update for @NewBie answer, dunno about the comment section can't do some line break lol

Here is what i do

#region fields
here is i keep all my public stuff
#endregion

#region events
here is all of my event
#endregion

#region methods
over here is all i keep my method
#endregion

just try to keep my code neat, so i don't have to see what i don't need to see, but i find this way in NetBeans latest version (i never tried older one). NetBeans do almost the same way Visual Studio do, it's cool, u have to tried that hahaha

4

1 回答 1

0

您不需要在 Dreamweaver 中使用代码/标记。选择要折叠的代码部分,然后单击左侧装订线中的减号。您的代码将被折叠,Dreamweaver 会记住这一点。

您可以在EditCode Collapse菜单中找到更多选项。例如,您可以通过选择Collapse Full Tag来折叠 HTML 标记及其子项。

于 2014-01-09T06:46:51.857 回答