PyDev:如何关闭方法参数的代码完成

发布于 2024-12-06 01:32:13 字数 203 浏览 2 评论 0原文

一个例子是当我输入时:

admin.site.reg...

我提交/应用建议时的完成不仅包括方法名称(register()),还包括“(model_or_iterable, admin_class)”——一半我必须返回并删除其中的内容。

我想要提交/应用的只是带有空括号的方法名称。

An example would be when I'm typing:

admin.site.reg...

The completion when I commit / apply the suggestion includes not just the method name (register()), but also "(model_or_iterable, admin_class)" -- half of which I have to go back and delete.

All I want committed / applied is the method name with empty parentheses.

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

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

发布评论

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

评论(1

柒夜笙歌凉 2024-12-13 01:32:13

应用补全时,请按住 Ctrl(即:不要使用 Enter,而是使用 Ctrl+Enter,尽管在这种情况下您必须添加括号)。

When applying the completion, leave Ctrl pressed (i.e.: instead of applying with Enter, apply with Ctrl+Enter -- although in that case you'll have to add the parenthesis).

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