Try right click => show file in projects toolwindow.
Is that what you mean?
If so, I used to have some code that would automatically synch the projects toolwindow to the current buffer. Let me know if that's what you want and I'll see if I can find it.