I currently place my cursor in the file, click the Scroll from Source icon in the Project window, then use the keyboard shortcut to refactor the filename, select all in the prompt and copy.
Is there a less clunky way to do this?
I currently place my cursor in the file, click the Scroll from Source icon in the Project window, then use the keyboard shortcut to refactor the filename, select all in the prompt and copy.
Is there a less clunky way to do this?
You can just select file in project view and press ctrl+c. File name will be copied.
Or you can use File Name Grabber plugin.
For future reference: In current versions you can setup this yourself by adding a keyboard shortcut. Settings -> Keymap -> Main menu -> Edit -> Copy Path/Reference -> File name
You can also use CTRL + SHIFT + C. This will copy your full path to the file.
Credits to @Robin Bastiaan he posted a short comment on the issue he created.
Out of the box, Intellij does not provide a quick shortcut for this feature. However, you can configure this via the keymap config nowadays. No plugin is needed.
Follow these steps:
file name.Alt+C. (I like this key binding because it is similar to the other copy shortcuts, and is pressed easily too)