Netbeans code prediction - java

I am using Netbeans for couple of days to learn Java. I have used visual studio before for c# and it was really good at predicting but I can not find something for netbeans. I found something like ctrl and space for code completion but its really annoying to use them everytime. Rather I would expect something like visual studio. Let me know if there is any plugin or built in option for code prediction in netbeans.
Thanks

Netbeans is a good IDE but for java i prefer IntelliJ idea there is a community version free of charge you could try it, link below.
http://www.jetbrains.com/idea/

Related

Is it possible to edit, compile and run Java code in Xcode?

I am using Java for my CS class at school, and I am currently using IntelliJ IDEA as my IDE. Along with this, I am using C++ for my personal projects/college course. Is there any way to edit, compile, and run Java in Xcode so I don't have to switch IDEs?
My current Xcode version is Xcode 8.0 (8A218a). I would like to run using Java 1.8.*.
When I was in school, I attempted to do the same exact thing and I found that it took too much time compiling my Java code in Xcode, switching to my terminal to execute the executable, etc. In short, if you enjoy using Xcode, feel free to use it as a text editor but you won't get much use out of it beyond that using Java.
Not to mention, if you decide to pursue a career as a Java Developer, you're far better off mastering an IDE such as IntelliJ or Eclipse; most companies if not all use them. Good luck!

How to set up visual studio 2013 for Java

Visual Stdio (haha) seems like an awesome and free dev tool to use since it is pretty versatile. I am currently learning java, and intend to learn C++ and Unity5, both of which can be developed for in VS. My question is, how do I set up VS for Java? Is it as simple as installing a plugin, or is there something else I've got to do?
Thanks for any help.
You can't use Visual Studio for Java unless you install a plug in like https://visualstudiogallery.msdn.microsoft.com/bc561769-36ff-4a40-9504-e266e8706f93
However the plugin might not be as consistent as a complete Java IDE

netbeans-like performance hints in eclipse

So I'm recently forced to use netbeans after using eclipse for years now while I never considered netbeans as a real alternative. But now I happened to find a cute feature in netbeans I haven't seen in eclipse so far: Java Performance Code Hints. Netbeans complains about things like "pointless binary operations (0 | 4)", "manually copying lists" or "creating new Boolean is inefficient".
Does anybody know if I can get those in eclipse too? I don't think eclipse comes with such a feature built-in. But I hope there's a plugin. Currently at work so I can't use eclipse market place to search. Google didn't give me much.

For someone coming from Visual Studio/C# background and wants to learn Java - Which should I get: Netbeans or Eclipse?

I'm looking for the following:
A nice debugger that allows me to easily view variable values if I use breakpoints.
Works very nicely in Windows 7.
Has something similar to the Toolbox pane in Visual Studio.
Built in intellisense, and code completion with the TAB key.
Long term support. I mean something that will last and stay in active development for years. I don't want a pet project IDE that will stop developing in a year. I'm just learning so it'll be very dificult at first to switch IDE's.
I'm new so I don't really know which IDE provides what I need between the two. Any help?
Well, I switched from Eclipse to Visual Studio, and I use both just about every day.
I found it hard to get used to the little differences at first, but now I am proficient in both IDEs.
I can't speak to whether or not Netbeans would be easier to learn, but Eclipse shouldn't be hard at all.
Both IDEs will provide all of the features that you have listed, and you should be able to customize both of them to get them to work almost exactly like Visual Studio.
So you want to learn Java and your first question is about which IDE to learn ? I suggest you look at BlueJ which is an IDE designed for people who want to learn Java. From my, I admit limited, experience with the IDEs you mention, BlueJ is the one which gets least in one's way when trying to learn Java as opposed to learning the IDE. Once you've exhausted BlueJ's capabilities there is an easy progression to NetBeans through a plug-in but you would probably not find it too difficult to step up to Eclipse instead.
Yes, I know you want to choose between Eclipse and NetBeans but BlueJ might be of interest.
This is a common debate, and there are obviously merits on both sides (this might be better served as a community wiki page). I prefer Eclipse, but to answer your questions as well as I can briefly:
Works very nicely in Windows 7.
Both are fine.
Has something similar to the Toolbox pane in Visual Studio.
Sorry, not familiar. Neither are short on panes, though Eclipse has a richer cache of third party plugins that might give you the experience you want.
Built in intellisense, and code completion with the TAB key.
I believe both are Ctrl-Space by default. If you're working in Java in Eclipse, there's an automated pop-up after a half second delay each time you type a separator (.) character.
Long term support. I mean something that will last and stay in active development for >years. I don't want a pet project IDE that will stop developing in a year. I'm just >learning so it'll be very dificult at first to switch IDE's.
Both are very mature products. I'd imagine Eclipse's fortunes are a little more secure simply because NetBeans might experience some turbulence during the Oracle acquisition of Sun.
My only other comment is that it's always seemed to me that Netbeans had far nicer "click-and-go" project templates out of the box, while Eclipse offered richer third party library integrations and a better debugger.
Probably both will do. Personally, I'd rather use Netbeans, because it's easier to get started right-out-of-the box. Eclipse depends more on plugins.
Why not try both and see which one suits your individual tastes more?
Both are find but if you want to build GUI's, Netbeans has the edge as it has a built in GUI builder, including a toolbox of controls to use with it.
Eclipse does not have a GUI builder. The commercial Eclipse distribution, MyEclipse does have a GUI builder - it's actually the one from Netbeans.
Neither Intellij IDEA is the Cadillac of Java IDEs
Netbeans = Great out of box experiance
Eclipse = Highly customizable with plugins and (so I've heard) slightly better intellisence-like capabilities.
If possible, I'd say try both (despite the bandwidth problem). If you get basic Java Development versions, the sizes aren't that big (48 MB for NetBeans and 92 MB for Eclipse)
I personally prefer NetBean's in-built capabilities since I don't like having to install plugins to make my experience the way I want it (and not all Eclipse plugins are free) but most of my fellow java devs prefer Eclipse's simplicity and ease of use.
I think you should try Intellij Idea, it the most powerful-intuitive java IDE I've never seen (http://www.jetbrains.com/idea/index.html). The new Community Edition is free and more than enough for java developpement. As it is highly configurable you can choose 'TAB' for auto completion, but I think you can learn from existing combinations that are well design.
Regards.
Java has some really nice IDEs available and many will do what you require.
I dont know you, but I use VS with Resharper so I m very used to those shortcuts, if you do too then have a look at IntelliJ ( they have a comunity edition)
Otherwise you can get eclipse and get the IntelliJ keymap ( or try to get the default VS keymap)
Netbeans is nice too, but I had some problems with it ( ie didnt build, rancomly crashing, etc)
Also most offer Source Control integration ( in Eclipse you have many flavours of subversion for example)
I guess you ll have to play around and find what suits you
Cheers

Is it possible to use Visual Studio as an IDE for Google Web Toolkit?

As a long time user of Visual Studio, I feel comfortable using this as my primary IDE for editing code (I primarily code in C#/ASP.NET). Lately I've been looking more in depth into the Google Web Toolkit (or GWT) as a potential tool for building rapid web client tools for the web. I would therefore like to know whether it is possible to edit Java syntax, and otherwise set Visual Studio up to built web applications for GWT?
The option i m using is using Eclipse with an IntelliJ Idea key mapping ( i m a resharper fan and I miss it)
Another option is take the plunge and get IntelliJ Idea, its a fantastic IDE and it was really easy to get used to it, it has some nice pluggins for GWT development too
Cheers
What is Visual Studio's support for Java like, I assuming that its GWT support is not as good. ;)
I think you are better off using an IDE which actually supports GWT.
You could have a look at http://www.jetbrains.com/idea/features/gwt.html The demo is rather old (from 2006) but if you haven't seen IntelliJ it might be interesting.
Visual Studio used to be the best Java IDE in the 90's.
Since then much better alternatives came out.
The 3 most commonly used right now are:
Eclipse
NetBeans
IntelliJ.
Microsoft stopped supporting Java development a long time ago. At that time Java was still at 1.3. With Java 1.5 the language was extended with generics and other constructs that Visual Studio will certainly not support.
If you manage to use Visual Studio for Java (or maybe J# could work?), integrate Maven in it and then use the maven gwt plugin to translate the java to ajax, it shoooould be possible.
But this is just an idea, would probably take a lot of efford, if it works at all.

Categories