我目前的Pycharm版本是2023.2.5(Ubuntu Linux)每当我试图编辑一个函数的名称或点击一个类名,它会带我到它的源文件,这很烦人。如何禁用此功能?
from .views import test
"""when I click on the above line to add test2,it takes me to the views.py
Expected behavior:-Should be able to edit a line(add to the end of it) without Pycharm taking me to the source file of that function or class..."""
urlpatterns = [path('home', test, name='test'),
path('about', test2, name='test2')]
字符串
1条答案
按热度按时间sqyvllje1#
经过一些研究,我发现问题是由于我添加的键Map打开文件与单击新选项卡。
在Pycharm
Ctrl Alt S->Keymap->Jump to Source->right click on it->remove click
为我工作!