Eclipse 自动完成:如何仅显示那些具有特定模式/通配符的方法?

发布于 2024-12-10 03:12:35 字数 461 浏览 2 评论 0原文

我经常只知道我想调用的方法的一部分,但不知道整个名称(尤其是开头)。 所以我想知道,在自动完成处于活动状态时是否可以输入模式/通配符。 提前致谢!

// I'd like to call str.toUpperCase() but imagine I don't know that it starts with to
String str = "some string";
str.*upper // sth like that while auto completion is active

参见

在 Eclipse 中将通配符与内容辅助结合使用

I often know only parts of a method, I would like to call, but not the whole name (especially not the beginning).
So I'd like to know, if there is a possibility to type in a pattern/wildcard while auto completion is active.
Thanks in advance!

// I'd like to call str.toUpperCase() but imagine I don't know that it starts with to
String str = "some string";
str.*upper // sth like that while auto completion is active

See also

Using Wildcards with Content Assist in Eclipse

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文