Any way to prevent IDEA from converting file path to URI("file://"), when drag&drop file from project window?

Answered

When dragging a file from the project window to the macOS Terminal app,
the file path is always converted to a URI with "file://" scheme  ...

I'd like IDEA to **keep the file path as is** and not convert it to a URI.

Any ideas?

 

 

 

0
4 comments

I haven't found how to disable this feature but you can consider using Copy Path/Reference... | Absolute Path action instead of Drag&Drop:

Also, a custom shortcut can be assigned to this action in Keymap settings:

 

0

Thank you for your answer and the looking for the feature. I will use it.

But I wonder if your team could allow users to control this behavior.

I'd like to suggest adding an advanced setting like as the following image:

 

0

I've created a new feature request in YouTrack. Feel free to upvote/comment for https://youtrack.jetbrains.com/issue/IDEA-311858

0

Thanks for creating a feature request.👍

0

Please sign in to leave a comment.