Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to link opened file with project tree in NetBeans

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.

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?

like image 850
Josef Sábl Avatar asked Feb 26 '09 12:02

Josef Sábl


People also ask

How do I open a file in NetBeans?

The best way to search and open file in netbeans: Press ctrl + o and type file name you are looking for, it will search in current projects and list matching files thn you can select file and open.

How do I show Project Explorer in NetBeans?

In NetBeans 8.2 Go to Window->Navigator in menu bar or press Ctrl+7 and select Projects it will open a folder as work space .


1 Answers

Just thought of adding what ax said:

The keyboard shortcuts in Windows are:

  • Select in Projects : Ctrl+Shift+1
  • Select in Files : Ctrl+Shift+2

The keyboard shortcuts in OS X are:

  • Select in Projects : CMD+Shift+1
  • Select in Files : CMD+Shift+2
like image 58
StudioEvoque Avatar answered Sep 20 '22 09:09

StudioEvoque