Home >Development Tools >sublime >How to configure ctrl + left mouse button for function jump in sublime text3
The following column sublime usage tutorial will introduce to you how to configure sublime text3 with ctrl and the left mouse button to perform function jumps. I hope it will be helpful to friends in need!
##Click Preferences->Browse Packages to enter the Packages directory, then open the User directory and check if there is a Default (Windows).sublime-mousemap file in the User directory. If not, then Create. This file is used to configure sublime's mouse operations. Enter the following content in the file:[ { "button": "button2", "count": 1, "modifiers": ["ctrl"], "command": "jump_back" }, { "button": "button1", "count": 1, "modifiers": ["ctrl"], "press_command": "drag_select", "command": "goto_definition" } ]Click save. ctrl: Use the left mouse button to jump to the function definition; ctrl: Use the right mouse button to jump back.
Note
If saving the file as Default (Windows).sublime-mousemap does not work, try saving the file as Default.sublime-mousemapThe above is the detailed content of How to configure ctrl + left mouse button for function jump in sublime text3. For more information, please follow other related articles on the PHP Chinese website!