如何使 Eclipse 的内容辅助行为类似于 Visual Studio 的 IntelliSence
我是一名 C# 开发人员,最近开始使用 Eclipse IDE 编写 Android 应用程序。对我来说最明显的变化是内容辅助不会自动弹出。有办法这样做吗?在 VS 中它几乎总是弹出。
PS还有一个更普遍的问题:如何让eclipse看起来更像VS?
I'm a C# developer and recently started to use Eclipse IDE to write Android apps. The most noticeable change for me is that content assist doesn't popup automatically. Is there a way to do so? In VS it pops up almost always.
P.S. And a more general question: how to make eclipse to look more like VS?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
嘿,我发现的最好的解决方案,就让 Eclipse 为我输入的所有内容弹出而言,是进入 windows > >偏好> java>编辑>内容协助和调整触发字符。通常只设置为“.”。我将其更改为“.(abcdefgh...”等。我相信这不是一个像您想要的那样漂亮的解决方案,但它做了一个可以接受的工作,确保我不必记住我已经做了什么命名的事物。
Hey the best solution I've found, in terms of getting eclipse to pop up for everything I type, is going into windows > preferences > java > editor > content assist and adjusting the trigger characters. It's normally only set to ".". I changed mine to ".(abcdefgh..." etc. It's not quite as beautiful a solution as I'm sure you'd like, but it does an acceptable job making sure I don't have to remember what I've named things.
转到 Windows ->首选项-> Java->编辑->内容辅助并选中“启用自动激活”。
“看起来像VS”是什么意思?字体、颜色……?
Go to Windows -> Preferences -> Java -> Editor -> Content Assist and check "Enable auto activation".
And what do you mean by "look like VS"? Fonts, colors, ...?