which compiler (/IDE)?

Well I’m sorry I’ve been a jackass in this topic. I was actually having a very shitty day when I posted that first message, and than I got upset when people just wouldn’t let it die.

Anyway, I’m sorry.

To be a little helpful I always felt that the IDE you choose normally comes down to personal preference. Just try 3-4 of them and find out which ones you like. I prefer J Creator myself.

I use notepad ++ for everything.
ide’s are for lazy ppl that dont like to type ;D.
Im only jealous cause i dont know how to use them .lol

and for those who dont remember some things, and to have access to the javadocs.

oh and for fast and accurate error correction (and believe me, i have a lot of them :P)

IntelliJ IDEa 7.0.5 here.

I prefer (and use) NetBeans, but acknowledge that Eclipse is noticeably faster.
I find NetBeans is easier to use though. If you aren’t using an IDE then you are most certainly wasting a lot of your time in your editor. In addition to the access to javadocs mentioned above, IDEs type most of your code for you and check your syntax and other errors on-the-fly. They tell you what order the parameters are in for the method you are calling etc. If you aren’t using an IDE you must try them out until you find one that works well for you. It will be worth the time invested.

i couldnt even figure out how to set up a project,
too many big words and too many buttons that i have no idea what they are on about, i am great at figuring out what i did wrong when it comes to my program not working and i can normally tell if its not going to compile properly but i like to see what effect its going to have anyway…its the way i learn i guess.i will stick with notepad++ :slight_smile:

ehrm… clicking [File]->[New Project] ???

Nothing wrong with that, but the above was a cheap excuse :wink:

thats true. you’ll learn a lot doing that.

my advice is that when you feel you learnt enough already, go and try out an ide and your coding will be speeded up a lot


By the way, im not using jbuilder, i sticked at netbeans. however, i dont like that it doesnt keep the original parameters name when i choose a function.

Lets say there is a fuction that is: myFunction(int width, int height, String name, CertainObject myObject);

If i have something like this:

int myAge = 20;
int myWeight = 75;
String anUselessString = “”;
this.myFunction(…);

as soon as i hit enter in myFunction (so it writes it for me), it automatically fills the function parameters with same type (not always) variables. In the case avobe:

int myAge = 20;
int myWeight = 75;
String anUselessString = “”;
this.myFunction(myAge, myWeight, anUselessString, anObject);

Where anObject is something i declared way before (which nothing has to do with the function).

The problem is that i want to know what i need to put on each parameter, and myFunction(width, height, name, myObject)
gives me more information than (myAge, myWeight, anUselessString, anObject).

Another thing i dislike is that when i send wrong parameters to a constructor, it doesnt tell me which parameters i should send to it, it just says “i cannot find the symbol at …” which is not really informative.

Then it has a couple of bugs not finding things that are just in front of it. for example i have all my classes in a folder called FC, then in my 10th class i added package FC and it keept telling me that it couldnt find the package. Deleting and re-copying the class fixed the problem.

Press STRG-P (or Menu: Source->Show Method Parameter) within the brackets of a method or constructor call. It will show up the available parameters and highlights the one needed at the current parameter position.

Hmm, the message is just from the java compiler. Don’t know how to approve that. What does JBuilder do in this case?

Make a clean build instead.

If you go to the start of your function (I think just before the first parenthesis) and press ctrl+space it should bring up the auto-completion. There you can see the parameters for your function.

Clean & build errors are annoying, but typically they are rare (at least for me). After a while you used to it and naturally clean and build the moment anything odd happens.

thanks for that hint, i’ll try it out.
JBuilder used to told me:
expected : (int x, int whatever)
found : (double x, String name)

anyways sometimes thats a problem because the constructors are overloaded, dunno which one it chooses (i think it chooses the most similar constructor parameters to what i’ve typed)

so for that is the clean build (the broom with the play or something like that?), i used it just to compile my source to a jar file :P. (by the way, jbuilder has a “refresh” function. never had to use it for this kind of bugs, its useful for example when you putted something inside a folder with the ide opened, so it does not find the resource till you press refresh)

thanks for the replies, guess you are some kind of netbeans experts :stuck_out_tongue:

Yes, its the broom with the hammer. :slight_smile:

I love JCreator ! :slight_smile:

somethig equivalent to Notepad++ but for Java

It’s really stressing for me when I work with some peple using for example Maven+Netbeans and ask them to give me there project and see that they have not any idea of which JARs/librairies ther own project requiere …

but anyways Netbeans seems very powerfull, maybe too much…

you don’t have to do this in NetBeans. It discovers files automatically. (btw: to reduce the load on your F5 key you can teach eclipse to auto refresh too… the option is somewhere hidden in preferences)

yeah, i spent like 5 minutes in the preferences in jbuilder, but it was too complex. It scared me at the point of not wanting to take a look at netbeans properties. Sometimes they make it so complex (/complete) that its hard to do/see the easy part.

Guys developing ide’s should take a read from time to time at the minimalistic concept (minimize to maximize)