问题描述
我正在从netbeans切换到Sublime Text2.我真正喜欢NetBeans的功能之一是,如果您按ctrl + Left单击(是,我正在使用Windows)调用对象或方法,它将打开包含对象/方法的文件,然后直接转到对象/方法. Sublime Text 2中有办法做到这一点吗?
I am switching over from netbeans to Sublime Text 2. One of the features I really love in NetBeans is if you hit ctrl+Left Click (Yes I am using Windows) on a call to an object or method it will open the file with the object/method and go straight to the object/method. Is there a way to do this in Sublime Text 2?
推荐答案
我刚开始使用Sublime Text3,也一直在使用NetBeans.
I've just started using Sublime Text3 and have also been using NetBeans.
如上述评论中的Pascamel所述,这是您最好的选择: https://github.com/SublimeCodeIntel/SublimeCodeIntel
As Pascamel mentioned in the above comment, this is your best bet: https://github.com/SublimeCodeIntel/SublimeCodeIntel
您可以安装Sublime Text Package Control,然后可以直接从Sublime安装每个插件,Package Control将自动将其更新. https://sublime.wbond.net/
You can install the Sublime Text Package Control, and then can install each plugin directly from Sublime and they will be kept up to date automatically by Package Control. https://sublime.wbond.net/
注意:如果找不到软件包,则可能必须从软件包控件中选择添加存储库"并粘贴Git url.完成此操作后,您可以从程序包控制转到安装程序包",然后就可以找到刚添加的存储库的插件.
Note: If you can't find the package then you may have to Choose "add repository" from the package control and paste the Git url. After you do this, you can go to "Install package" from package control and you will then you will be able to find the plugin for the repo you just added.
这篇关于是否可以像在NetBeans中一样单击以Sublime Text中的方法/对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!