Netbeans 中的持续代码完成
我刚刚发现 strg+space 会在 NetBeans 中提出代码完成的建议。这是我一直喜欢的 Visual Studio 功能之一,我很高兴它在 NetBeans 中也可用。在我看来,IntelliSense 做得非常好。相反,按 strg+space 来获取建议并不是很舒服。我知道要写什么,并且只使用变量和方法名称的自动完成功能。因此,仅输入名称比使用 strg+space 并选择建议更快。我希望在编码时始终显示建议。
在“工具/选项”下,我已经切换了听起来像“代码完成”、“自动弹出完成窗口”、“自动弹出文档”的所有内容,...但它不起作用。我还是得用strg+space。我该怎么办?
I've just discovered that strg+space brings up suggestions for code completion in NetBeans. This is one of the features I've always loved in Visual Studio and I'm glad that it's available in NetBeans, too. In my opinion IntelliSense does a really good job. On the contrary pressing strg+space to get the suggestions is not very comfortable. I know what to write and only use the auto-completion for variable and method names. Therefore just typing the name is faster than using strg+space and picking a suggestion. I would like the suggestions to be shown always while I'm coding.
Under Tools/Options I've toggled everything on that sounds like "code completion", "auto popup completion window", "auto popup documentation", ... but it's not working. I still have to use strg+space. What shall I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
IntelliJ 具有三种自动完成模式,我发现它比 eclipse/netbeans 中的自动完成模式强大得多。
如果你不习惯的话按+会很烦人,但是因为我有三种模式,所以我希望能够选择我想要的一种。
也许你很快就会习惯,并且会不假思索地去做。
IntelliJ has three auto-complete modes and I find it much more powerful than the same in eclipse/netbeans.
It is annoying to press + if you are not used to it, but sine I have three modes, I want to be able to select which one I want.
Perhaps it is something you will quickly get used to and will do it without thinking about it.