上传 Dreamweaver 中所有打开的文件?

发布于 2024-10-25 10:16:38 字数 120 浏览 3 评论 0原文

有没有办法将所有打开的文档上传到当前站点,而无需手动加载它们?

目前,我为每个打开的文档选择一个,然后按 Ctrl+shift+U,但如果您编辑的文件超过 10-20 个,那就有点蹩脚了,

谢谢

Is there a way to upload all the opened documents to the current site without having to load em manually?

At the moment for each opened document I select one and I press Ctrl+shift+U but it's kinda lame if you edited more than 10-20 files

thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

梦冥 2024-11-01 10:16:38

没有本机功能,但是我使用了这个简单的作弊:

  1. 打开查找和替换对话框
  2. 搜索出现在所有打开的文档中的字符串。页面标题通常包含一些有用的内容。确保选择“所有打开的文档”。单击“查找全部”
  3. 出现的面板显示您搜索的所有实例(应该是所有打开的文件)
  4. 在搜索结果面板中突出显示所有文件名,右键单击,然后单击“放置”

实际上只需要几个几秒钟,让您免去必须单独放置每个文件的痛苦。这显然适用于简单突出显示文件并单击放置按钮不可行的情况(例如多个目录中的文件等)。

There is no native function however I have this simple cheat I use:

  1. Open up the find and replace dialogue
  2. Do a search for a string that appears in all the open documents. The page title usually has something useful. Make sure "all open documents" is selected. Click "Find All"
  3. The panel appears that shows you all the instances of your search (should be all the open files)
  4. Highlight all the file names in the search results panel, right click, and click "put"

It actually only takes a few seconds and saves you the pain of having to put each file individually. This is obviously for cases where simply highlighting the files and clicking the put button isn't feasible (e.g. files in multiple directories, etc).

夜血缘 2024-11-01 10:16:38

在 CS6 中(不确定旧版本),在查看本地站点时,右键单击项目的父目录,将鼠标悬停在“选择”上,然后悬停在“签出文件”上。

这将突出显示您已签出的所有文件,并允许您一键签入它们。

注意:由于 Dreamweaver 会从服务器收集所有签入状态信息,因此如果是大型项目,这可能需要相当长的时间。仅建议用于较小的项目,在这种情况下它似乎效果很好!

按照相同的过程,您还可以选择“最近修改”,它仅搜索您的本地站点并且速度要快得多(但不会直接回答问题的签入/签出部分)。

我希望这有帮助!

In CS6 (not sure about older versions), when viewing the local site, right-click on the project's parent directory, hover on 'Select' and then 'Checked Out Files.'

This will highlight all the files you have checked out and allow you to check them in with one click.

Note: As Dreamweaver gathers all of the check in status information from the server, this can take quite a while if it is a large project. Only suggested for smaller projects, in which case it seems to work great!

Following the same process, you can also select 'Recently Modified', which only searches your local site and is much faster (but doesn't directly answer the check in/out part of your question).

I hope this helps!

拥醉 2024-11-01 10:16:38

我是 Get Put All 扩展的忠实粉丝,但它不适用于 CS4 或 CS5

I was a big fan of the Get Put All Extension, but it does not work on CS4 or CS5.

烂人 2024-11-01 10:16:38

不幸的是,上传所有打开的文件并不是内置的。很久以前,我编写了一个名为 Get Put All 的 Dreamweaver 扩展,它允许获取或放置所有打开的文档。它应该仍然可以在 CommunityMX 网站(目前对我来说已关闭)。我不再为 CommunityMX 做出贡献,所以我不会看到任何收益。虽然是不久前编写的,但它在较新版本的 Dreamweaver 中应该可以正常工作。

Unfortunately, upload all open is not built in. A long while ago I wrote a Dreamweaver extension called Get Put All, which allows for getting or putting of all open documents. It should still be available for sale (probably $5 or under) at the CommunityMX web site (down for me at the moment). I no longer contribute to CommunityMX, so I won't see any proceeds. While written a while ago, it should work fine in newer versions of Dreamweaver.

桃扇骨 2024-11-01 10:16:38

刚刚知道怎么做。

使用ctr+选择文件下树视图中的所有文件,然后右键单击所选条目并单击“放置”

Just found out how to do it.

Use ctr+select all the files in the tree view under files and then right click on the selected entries and click "put"

像你 2024-11-01 10:16:38

解决方案:

1) 单击“站点”

2)“管理站点”(选择您要管理的站点)

3)“编辑”

4)“远程信息”

5)并勾选“保存时自动将文件上传到服务器”复选框

(请参阅此处)

在 Dreamweaver 上打开所有要上传的文件

6) 然后“查找”每个文档都有的通用代码

7) 并用精确相同的代码“替换全部”

*Make确保在执行替换之前选择“查找位置:打开文档”

一旦 Dreamweaver 找到并替换了确切的代码 - 此时所有文档都将取消保存。

8) 只需点击“全部保存”即可!现在你的 CTRL+SHIFT+U 手指可以让 F 放松下来!

希望这有帮助!

哦,记得稍后或不需要时取消选中“保存时自动将文件上传到服务器”

PS:当您单击“全部保存”时,Dreamweaver 可能会显示“无响应”。在完成之前不要打扰 Dreamweaver,因为它上传文件的速度很快,具体取决于您的互联网速度:)

SOLUTION:

1) Click on "Site"

2) "Manage Sites" (Select the site you want to manage)

3) "Edit"

4) "Remote Info"

5) And tick the checkbox "Automatically upload files to server on save"

(See where I am going here)

Have all the files you want to upload OPEN on Dreamweaver

6) Then "Find" a common code each document has

7) And "Replace ALL" with the EXACT same code

*Make sure "Find in: OPEN DOCUMENTS" is selected before you do the replacement

Once Dreamweaver has find and replaced the exact code - all documents will be unsaved at this point.

8) Just click "Save All" and voila!!! Now your CTRL+SHIFT+U fingers can chill the F out!

Hope this helps!

Oh, Remember to uncheck "Automatically upload files to server on save" afterwards or when not needed

PS: When you click "Save All" - you might get Dreamweaver saying "NOT RESPONDING". Just leave dreamweaver alone until it's done because it's uploading files at a rapid rate depending how fast your internet is :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文