Eclipse:重新获得参数名称的内容帮助

发布于 2024-10-16 18:13:06 字数 483 浏览 8 评论 0原文

Eclipse 有很好的内容辅助,例如参数名称(在下一页中搜索“内容辅助可以插入”):
http:// help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jdt.doc.user/tips/jdt_tips.html

但有时美好的“通过参数选项卡”的东西消失了(例如,如果我不小心删除了一个逗号),我必须使用箭头键编辑下一个参数。

有没有办法重新启用参数被概述/框定的模式,并且我可以通过选项卡浏览它们?

我发现的唯一一件事是,如果光标位于缺少参数的逗号前面,我可以按 Ctrl+Space 来获取显示工具提示参数列表。但这并没有让我恢复良好的标签功能。

Eclipse has great content assist, e.g. for argument names (search for "Content assist can insert" in the following page):
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jdt.doc.user/tips/jdt_tips.html

But sometimes the nice "tabbing through arguments"-thing disappears (e.g. if I accidentally deleted a comma) and I have to use the arrow-keys to edit the next argument.

Is there a way to re-enable the mode where the arguments are outlined/framed and I can tab through them?

The only thing I found out is that I can press Ctrl+Space if the cursor is in front of a comma where the argument is missing to get a tool-tip showing the parameter list. But that does not give me back the nice tabbing feature.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

梨涡少年 2024-10-23 18:13:06

我知道你的意思,我个人通过选择建议的参数并用我的参数编辑参考文献或通过在点后按 Ctrl+Space 再次执行此操作并重新启动即时内容辅助来解决此问题。

I know what you mean, I personally workaround this by either selecting the proposed arguments and edit then the references with my ones or by doing it again by Ctrl+Space after the dot and restart the on-the-fly content assist.

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