PyCharm使用技巧:Find Usages(查找引用)

PyCharm的Find Usages功能可以查找某个对象(变量、函数、或者类等)被引用的地方。 使用: 在要查找的对象上右键-》Find Usages-》界面下方会列出查找结果。 快捷键: Alt + F7 下面以test.py和test2.py为例,其中test2.py使用了test.py的foo函数 test.py: a = [1, 2, 3] b = [10, 100, 11] c = [
相关文章
相关标签/搜索