如何仅在当前班级中查找标签?
我正在使用 vim 进行 java 编程。到现在感觉还不错。
但我有一个问题:
众所周知,我们可以使用 :ta
来查找我们指定的标签。但是每次我使用这个命令时,vim总是搜索我的标签文件中的所有标签。我现在想要的只是搜索当前类中的标签。当我只输入部分标签名称,然后按 TAB 时,它只会迭代当前类下的标签。
谢谢。
I am using vim to do java programming. Feeling quite good until now.
But i have a question:
As we all know, we can use :ta
to find the tag we specified.But every time i using this command, vim always search all the tags in my tags file. What i want now is just search the tags in current class. when i just input part of the tag name, and press TAB, it will only iterate tags under current class.
thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
虽然从 VIM 等文本编辑器和命令行工具(javac,...)开始学习如何使用类路径等基础知识可能会很好,但我强烈建议使用 NetBeans 等 IDE一旦您了解了基础知识,就可以使用 Eclipse。
While it might be good to start with a text editor such as VIM and command line tools (javac,...) to learn the basics such as how to work with the classpath etc., I strongly recommend to use an IDE such as NetBeans or Eclipse as soon as you understand the basics.