PyDev:如何关闭方法参数的代码完成
一个例子是当我输入时:
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
应用补全时,请按住 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).