Dale said:
I am at least one that is intimately familiar with C++ (although I am
not actually a full-time Java developer). But I am not going to go
download something searching for features.
And as I said Eclipse has that, it's just not doing it automatically,
you have to request it. Frankly, I would not want it automatic as it
would slow things down and keep getting in my way.
See Java > Editor > Syntax Coloring where you can customize it how you
want including specifying a style for local symbols. Looks promising
In Eclipse it is <ctrl>-/ to toggle // style comments and
<ctrl>-<shift>-/ to add a block comment. To remove the block comment you
I've used several programs that had this and I never had any use for it.
It just annoys me.
What's annoying? you can continue using copy&cut&paste as you've used
to. But in case you want you can have a listbox of your clipboard and
past something you've copied into clipboard previously. if you don't
use it, there's nothing to be annoyed about. as they say "you don't
need to pay for the things you don't use".
Another handy feature I recently discovered in Eclipse that has
eliminated much of my use of cut and paste is <alt>-up arrow and <alt>
down arrow. These move a line or lines up or down (indenting them
correctly). If you add a <ctrl> with that then it duplicates the
line(s). <ctrl>-d deletes the current line.
Good to know, thanks for the tip.
I understand, but Eclipse has the feature it is just not as automatic. I
believe that is because of usability and performance concerns.
It could be because of the reasons you've mentioned. That should be
possible to overcome this issue, in case it's because of performance
concerns. Regarding the usability, I don't think people find it
un-usefull or unsable because most of chances are that they are not
aware of such feature existence.
It's possible to do some of that in Eclipse. See Java > Editor > Code
Assist. For instance by default it won't show you completions that are
not visible from the current context.
I will check on that next time I run eclipse. Though, I doubt it's like
VA. Since in eclipse, most chances, you statically set your settings.
In VA you can modify your setting each time the list-box appears. But
then again, I can live without it.
You are right. I've tried it. It's very convinient.
Note that Eclipse does support some auto activation of code assist for
example when you hit '.'. You can add other characters if you want.
I don't think you will convince Eclipse to make the code assist always
automatic. I frankly would not want it to do so.
If choosing between more intelligent suggestions and having it
automatic, I chose more intelligence. While I haven't tried VA,
Eclipse's code assist is pretty darn smart. Note that it has entries
besides just identifiers. You can add templates and it gives you
suggestions like add a missing abstract method inherited from an
interface or abstract class.
I think there's some kind of misunderstanding. Why need to choose
between intelligent suggestions and having it automatic? Each time VA
suggest code completetition it shows it as a list-box and you can
either choose the suggestion or you could continue typing and VA will
choose it for you. Rememer the choise is only in a listbox, you don't
have to accept it. You could press on escape to turn off listbox for
current suggestion.
I consider it to be 80-20 rule.. I'd rather have it automatic in 80% of
my usage, and in the remaining 20% ,though I think it's much less than
20, I am willing to press on escape to turn it off. So there is no
sacrifice of intelligense. You don't have to use automatic suggestions
when you don't want to. Intelligense stays. I write a lot of code at
work, and usually use descriptive long names when necessary. Using
automatic code completetion saves me a lot of typing time. Remember,
only when the suggestion is good for me, I press on enter key and
accept it.
I really suggest that you look through the menus. There's lots of good
stuff in the source menu. Also take a look at the key bindings in
General > Keys in the preferences and you will find lots of handy things.
I agree.. It has a lot of great functionallity. I've never claimed it's
bad. I think there are helpfull features in eclipse that it's a shame
they don't appear in visual studio.
Anyway, back to work now.
Regards,
Shimon