Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在Dreamweaver CS5中折叠代码时,只要文件在同一文件夹中,折叠状态就会保存,但是当将文件复制到新文件夹时,折叠状态消失并且代码展开,所以有人知道如何保持即使在复制代码或将其上传到服务器后,代码也会崩溃?
如果您指的是此功能,那么它是在dreamweaver 中设置的,而不是在文件中,因此当您移动文件时,dreamweaver 会将其视为不同的文件,如下所示:
root/index.php
并搬到了另一个地方
root/another_folder/index.php
所以每次移动它时都必须重置它。
希望这可以帮助