How to copy a path in a JSON in IntelliJ IDEA? How to copy a path in a JSON in IntelliJ IDEA? json json

How to copy a path in a JSON in IntelliJ IDEA?


I know this post is old, but I thought I'd give an updated answer.

I came across this question because I was looking for the same thing, then discovered the feature actually exists in WebStorm already (I'm assuming it exists in IntelliJ as well).

Basically, put your cursor on the node you want, and you'll see the path at the bottom of the editor window. Then you can right-click on the path and select "Copy qualified name to clipboard".

Here's an example of doing this from my IDE:

enter image description here


This feature doesn't exist at the moment, there is an open request, please vote (see also the related issues).