Get Absolute Relative Path of File in IDEA IntelliJ


If you have a file (be any xml, css, json, java, txt etc) in your project folder and you want to know the Absolute or Relative path of it you can follow the below simple steps,

  • Step 1: Expand your project and be on the file you want to know the path
  • Step 2: Right Click on the file and click on Copy Path/References...
  • Step 3: Select Absolute Path, File Name, Path from Content Root or Path from Source root options.
  • Step 4: The text will get copied in your clipboard, paste it anywhere you want!
IDEA IntelliJ Copy Path Reference
IDEA IntelliJ Copy Path Reference
Select File Path
Select File Path

Topics Coverage:


🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.

Follow Us: GitHub | Facebook | Twitter | Instagram