Home > Development Tools > sublime > body text

How to configure ctrl + left mouse button for function jump in sublime text3

藏色散人
Release: 2019-11-08 13:30:15
forward
7747 people have browsed it

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!

How to configure ctrl + left mouse button for function jump in sublime text3

##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"
}
]
Copy after login

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-mousemap

The 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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!