Very simple plugin that copies current file's path or its dir path to the →clipboard with always Unix and never
path separators regardless.
If your IDE runs under Windows, then standard Idea "Copy Path" feature will copy you the backslashed Windows path, but if you run a Unix terminal into your Windows paths (like Cygwin or a virt with shared folders), then it is very hard to use the backslashed Windows path with Unix shell scripts, that's when this plugin can help.
And if you have the Windows Services for Unix installed, you'll be able to use the paths provided by this plugin in Windows as well, in Explorer and the CMD.EXE shell and the PowerShell.
This plugin adds 2 menu items to the editor popup menu, but I also remapped the standard Idea's "Edit → Copy Path" action's keyboard shortcuts to my plugin's too.
On top of that:
Starting @version 1.0.4, also adds settings to transform paths by a regex for a project. For example, substituting this: ^[A-Z]:/dir/(.+)$ with this: /mount/wf_dir/$1 will turn this Windows path: C:\dir\meh\blah\file.ext into this on the clipboard: /mount/wf_dir/meh/blah/file.ext