Making Eclipse behave like Visual Studio

我只是一个虾纸丫 提交于 2019-12-03 06:13:34

问题


I'm doing some Android development, and I much prefer Visual Studio, but I'll have to use Eclipse for this.

Has anyone made a tool which can make Eclipse look and behave more like visual studio? I mainly can't stand its clippyesqe suggestions on how I should program (Yes, I know I have not yet used that private field! Thanks Eclipse!), or its incredibly lousy intellisense.

For example, in eclipse, if I don't type this first, its intellisense won't realise I want to look for locally scoped members. Also, the TAB to complete VS convention is drilled into my head, and Eclipse is ENTER to complete, I could switch everything by hand but that would take hours, and I was hoping someone had some sort of theme or something that has already done it.


回答1:


There are also other choices for Java IDEs. You've obviously found Eclipse, but you also may want to check out IntelliJ and NetBeans. IntelliJ is not free, but has a 30 day evaluation period and a Visual Studio key map :)

Shop around, find one that you like and start to use it heavily. They are all very good IDEs, and I'm sure once you use one for a while you'll get comfortable with it.




回答2:


Have you tried using the Visual Studio keybindings available in Eclipse Ganymede (3.4)?

(You may want to know that "IntelliSense" is a Visual Studio-term, an probably unknown to anyone without Visual Studio-experience. "Autocompletion" is probably a more widely used term.)




回答3:


If you start typing the name of any class/variable visible in the current scope and hit Ctrl+Space, it'll bring down the autocompletion.

By default, tab is used to move around autocompleted function call arguments.




回答4:


I'm gonna play devils advocate here and say that forcing you to use this.myString is actually much safer than just myString. myString could be defined locally (in the method) or in the class as a private member. I sometimes think Visual Studio is a bit cavalier about this. In the sample you mention (I saw the video but it was illegible) where is myString scoped?



来源:https://stackoverflow.com/questions/146020/making-eclipse-behave-like-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!