Sublime 3 - Set Key map for function Goto Definition

后端 未结 6 584
感情败类
感情败类 2020-12-04 05:06

I want to create an Eclipse style shortcut Ctrl+MouseClick to open the function/method. Sublime Text 3 has already this function called goto_defi

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 05:19

    To set go to definition to alt + d. From the Menu Preferences > Key Bindings-User. And then add the following JSON.

    [
        { "keys": ["alt+d"], "command": "goto_definition" }
    ]
    

提交回复
热议问题