问这个问题我很傻,但是我自己找不到解决办法.
I feel dumb asking this question, but I can't find solution to this myself.
当我在编辑器中打开多个文件并在它们之间切换时,我在项目或文件树中查找当前打开的文件时遇到问题.
When I open several files in editor and switch between them, I have problem finding currently opened file in project or files tree.
在每次使用文件更改选项卡之前,我都使用Eclipse,项目树将焦点设置为同一文件.有没有办法在NetBeans中做类似的事情?
I used Eclipse before and every time I changed a tab with file, the project tree set focus for the same file. Is there a way to do something like this in NetBeans?
推荐答案来自 forumsbeans /topic3732.html :
我相信您可以从导航菜单中执行此操作.有以下条目 转到项目选项卡或文件选项卡中的文件.我没看到 选项,可让您自动执行此操作,例如 Eclipse,但是此菜单项允许您根据要求进行操作.
You can do this from the navigate menu, I believe. There are entries for going to the file in the project tab or the file tab. I didn't see an option that allows you to do this automatically, like there is in Eclipse, but this menu entry allows you to do it upon request.
[edit]:也可以工作:在文件>鼠标右键>选择>项目中|文件|类最喜欢的
[edit]: also working: in the file > right mouse button > select in > projects | files | classes | favourites
: forumsbeans/topic8420.html 注意:此功能直到NetBeans IDE 6.5才可用.此功能已添加到新版本中,并且可能在NetBeans IDE 7.0M1及更高版本中可用,您可以在查看"菜单中找到它.
[edit 2]: forumsbeans/topic8420.html : This feature is not available till NetBeans IDE 6.5. This feature is added in the new version and may be available in NetBeans IDE 7.0M1 and after and you can find it in the View Menu.
更多推荐
如何在NetBeans中将打开的文件与项目树链接
发布评论