When opening a file that's not a part of the current project, what's the quickest way to jump into it?

Hello,

PyCharm is just brilliant and I believe this has to exist but I can't find it.

When faced with viewing a file that is not a part of the project, what is the quickest way to actually do the editing, refactoring without going through File > Open > Project > File > Function > line?

Considering PyCharm pretty much covers everything, I find myself surprised when something that should exist, doesn't. Sometimes you'll open a file that doesn't belong to the current project. You'll want to edit and refactor it to be faced with a hint e.g.,

Cannot perform refactoring.
Selected function is not located inside the project.

Even if this file does exist within a PyCharm managed project, it's a bit of a stretch to get right down to it.

Cannot perform refactoring.
Selected function is not located inside the project.
Open Project: <CLICK HERE>, Attach Project: <CLICK HERE>

How do you quickly get to exactly what you're looking at without the extra steps?

0

请先登录再写评论。