简体   繁体   English

在netbeans中,如何在项目视图中选择所有当前打开的文件

[英]In netbeans how do I select all currently open files in the project view

How do I select the files I currently have open in the project view without trawling through the project tree and ctrl+clicking them all individually. 如何选择我当前在项目视图中打开的文件,而无需在项目树中浏览并按住Ctrl并单击它们即可。

After editing multiple files I then want to diff and commit them using the SVN plugin. 编辑多个文件后,我想使用SVN插件进行比较并提交。 To do this currently I trawl through the project tree selecting all the files I need then right click and select diff. 目前,要执行此操作,我会在项目树中搜寻所有需要的文件,然后右键单击并选择diff。 Seeing as it is nearly always the files I have open that I want to diff it would be nice to automatically select them in project view and save the trawling. 鉴于几乎所有我要比较的打开的文件都非常好,因此最好在项目视图中自动选择它们并保存拖网。

This is especially annoying if I miss a file as I can't seem to find a way to add it to the diff tab without redoing the whole process. 如果我错过了一个文件,这会特别烦人,因为我似乎找不到不重做整个过程就无法将其添加到diff选项卡的方法。

Solutions or better ways of using SVN with netbeans would be awesome :) 将SVN与netbeans结合使用的解决方案或更好的方法非常棒:)

Many thanks, Tom 非常感谢,汤姆

In my opinion, much better approach would be the following: 我认为,更好的方法如下:

  • checkout/update your project from Subversion in order to be sure that you have fresh source files 从Subversion签出/更新您的项目,以确保您拥有新鲜的源文件
  • open and change whichever file you want and save changes 打开并更改所需的任何文件并保存更改
  • right click on Source packages , then Subversion->Commit , it will commit all changes you've made on the source code 右键单击Source packages ,然后单击Subversion->Commit ,它将提交您对源代码所做的所有更改

Hope that helps. 希望能有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM