package settings - SublimeCodeIntel - Settings-User:
更改为自己对应语言目录
{
"codeintel_language_settings": {
"Python3": {
"python3": "C:/Users/TRIX/AppData/Local/Programs/Python/Python39",
"codeintel_scan_extra_dir": [
"C:/Users/TRIX/AppData/Local/Programs/Python/Python39/DLLs",
"C:/Users/TRIX/AppData/Local/Programs/Python/Python39/Lib",
"C:/Users/TRIX/AppData/Local/Programs/Python/Python39/Lib/site-packages",
"C:/Users/TRIX/AppData/Local/Programs/Python/Python39/Lib/idlelib",
"C:/Users/TRIX/AppData/Local/Programs/Python/Python39",
"D:/softwares/sublime 4/Sublime Text 4.0.0 Build 4101/Sublime Text/Data/Packages/SublimeCodeIntel/arch",
"D:/softwares/sublime 4/Sublime Text 4.0.0 Build 4101/Sublime Text/Data/Packages/SublimeCodeIntel/libs",
],
"codeintel_scan_files_in_project": true,
"codeintel_selected_catalogs": []
},
}
}
package settings - SublimeCodeIntel - Mouse Bindings-User:
alt+左键 跳转到对应函数位置
alt+右键 跳回到原来位置
[
{ "button": "button1", "modifiers": ["alt"], "command": "goto_python_definition", "press_command": "drag_select" },//alt+click1 goto def
{ "button": "button2", "modifiers": ["alt"], "command": "back_to_python_definition", "press_command": "drag_select" },//alt+click2 backto origin
]