简体   繁体   中英

Navigate to a specific module in PyCharm

I use PyCharm as my IDE for working with Django. So far, it's navigation shortcuts have proven very useful. I can go to a specific (project) file with Ctrl+Shift+N , I can go to any class definition with Ctrl+N and can go to any symbol with Ctrl+Shift+Alt+N .

This is great, but lately I've seen that it would be very useful too to have a shortcut to move to a specific external (or project) module.

Is there any shortcut where I can pass for example: django.contrib and show the modules for inside django.contrib package or base64 and show me the modules match for base64 , just as easy as I can go to a specific, symbol, class, file?

Thanks in advance

I feel your problem. All you have to do is Ctrl + CLICK on the definition. Please note, however that this does not provide the actual files. What I mean by this is that it does not re-direct you to the actual function, but rather a skeleton of the function.

If you want to go to the actual function, you will need to go it it my clicking on external libraries on your sidebar and do a search.

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM