如何仅在当前班级中查找标签?

发布于 2024-12-21 13:56:08 字数 206 浏览 6 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

水染的天色ゝ 2024-12-28 13:56:08

虽然从 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文