今天刚安装了pycharm,用Ctrl+鼠标左键,无法跳转,提示cannot find declaration to go to
解决方法:
1、点击File
2、点击Setings,或者Ctrl+Alt+s
3、点击project untitled,打开Project Interpreter
4、打开Project Interpreter下拉键,选中安装的python.exe,如果没有,自行添加python.exe的位置
5、点击apply

这样一波操作后,就可以跳转方法了,美不。
网友评论