如何刷新 Netbeans 工作区?

发布于 2024-10-07 17:14:00 字数 174 浏览 1 评论 0原文

在 Eclipse 中,有一个称为刷新工作区或 F5 的工具可以刷新文件,以确保拾取在 Eclipse 外部更改的任何文件。

我如何在 Netbeans 中做到这一点?我使用 6.9.1 进行 PHP/Java 开发?

我没有看到任何刷新,F5 也不起作用?

有什么提示吗?有插件吗??

In Eclipse, there is something called refresh workspace or F5 that refreshes the files, to make sure to pick-up any files that are changed outside eclipse.

How do i do that in Netbeans ? I am using 6.9.1 for PHP/Java development?

I don't see any refresh nor F5 works?

any hints? any plugins??

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

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

发布评论

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

评论(10

戏蝶舞 2024-10-14 17:14:00

在 NetBeans 中:

select "Source" > "Scan for External Changes" 

这将强制 IDE 查找更改并“刷新”文件结构。

我在 NetBeans 中开发 PHP,并且经常在 IDE 之外创建新文件。这每次都能奏效,而且见效很快。

Within NetBeans:

select "Source" > "Scan for External Changes" 

this will force the IDE to look for changes and "Refresh" the file structure.

I develop PHP within NetBeans and am frequently creating new files outside of the IDE. This does the trick every time and works quickly.

仅冇旳回忆 2024-10-14 17:14:00

我认为下面是对此的最佳答案。虽然扫描外部更改需要一段时间。

反而。

工具->选项->杂项->文件并取消选中启用-自动扫描源。然后就会出现刷新文件夹之类的选项。

这对于扫描整个项目以查看一个文件夹中的更改来说很酷。

I think below is the best Answer to that. While Scan for External Changes takes a while.

Instead.

Tools->Options->Miscellaneous->Files and uncheck Enable-auto-scanning of source. Then it will give an option like Refresh Folder.

This is cool against scanning the whole project to see changes in one folder.

栩栩如生 2024-10-14 17:14:00

没关系,找到了 ScanOnDemand 插件,而且还有源 --> 扫描外部更改菜单。

Never Mind, found ScanOnDemand plugin and also there is source-->Scan for External Changes menu.

梦幻的味道 2024-10-14 17:14:00

对于 Netbeans-IDE 7.2 及更高版本,

请转至工具 -> 选项 -> 其他 -> 文件,然后取消选中启用源自动扫描。然后它会给出“刷新文件夹”之类的选项。

您可以刷新文件夹或整个工作区。

For Netbeans-IDE 7.2 and above

Go To Tools->Options->Miscellaneous->Files and uncheck Enable-auto-scanning of source. Then it will give an option like Refresh Folder.

You can refresh the folder or whole workspace.

优雅的叶子 2024-10-14 17:14:00

从“源”菜单中选择“扫描外部更改”。

Select "Scan for external changes" from the "Source" menu.

暮年 2024-10-14 17:14:00

我使用 netbeans 部署 php 项目。

->扫描外部更改

项目中的文件将被刷新或与 Windows 文件系统同步。

I use netbeans deploying php projects.

Source->Scan for External Changes

The files in the projects will be refreshed or synchronized with the windows file system.

不语却知心 2024-10-14 17:14:00
Source -> Scan For External Changes

输入图像描述这里

Source -> Scan For External Changes

enter image description here

水中月 2024-10-14 17:14:00

我做了如下所示,

右键单击文件夹(例如网页)--> 刷新

在我的 netbeans 6.9 中

I made it like below ,

Right click on the folder (e.g webpages) --> Refresh

in my netbeans 6.9

通知家属抬走 2024-10-14 17:14:00

另外,如果您使用的是 Subversion,如果您使用外部 Subversion 客户端,您可以在 Subversion 菜单中运行“更新”来更新差异突出显示。

Also, if you're using subversion, if you use an external subversion client you can run "update" in the subversion menu to update the diff highlighting.

甜是你 2024-10-14 17:14:00

唯一对我有用的想法是右键单击项目时的“同步”。

The only think that worked for me, is "Synchronization" when right-clicking on the project.

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