Netbeans - how do I find the path to a file within this IDE?

13,624

Solution 1

There is a community contributed plugin on NetBeans bug-tracking system that can implement the feature. I have verified that the plugin works well with NetBeans 6.9.1. Once installed, you could copy the path of a file (or files under a folder node) via Edit/Copy Path menu.

Plugin "Path Tools" @ plugins.netbeans.org

Solution 2

With Netbeans 8 you can use:

Alt+Shift+L

It's defined under Options->Keymap as Copy File Path(s)

Solution 3

Somewhat related : netbeans - how to view file full path in window title (or somewhere else)?
You can use either of following :

  1. Use Alt+Shift+O to open files by name (which shows the path and the project)
  2. Hit Ctrl+Shift+1 while in the editor to highlight the file in the Projects View

Solution 4

I use this plugin which lets you copy the full path of a file to the clipboard - https://github.com/kinkadzs/QuickOpener-NetBeans

Share:
13,624
Admin
Author by

Admin

Updated on June 17, 2022

Comments

  • Admin
    Admin almost 2 years

    I want to be able to right click an item within the 'Projects' or 'Files' window, and either have an 'open in file system' option, or 'copy absolute path to this file'.

    Is there a plugin or a hidden option within Netbeans that will allow me to achieve this?

    I just need an easier way to get to the folder within Windows Explorer without having to spend the time navigating there.

    I'm open to making a small plugin myself if it'll make it happen?