TorNorbye wrote: [...] >> code hygiene features (check out the "Save Actions"), and AFAIK VS just >> can't compete with that. They are the main reasons I don't use NetBeans >> as my default IDE, which is much more elegant in many ways. >> > > I took a brief stab at implementing save actions; it was pretty easy > to make it format and > apply imports on save. But as I looked around I see that the Save > Actions you're referring > to has some other things you can do too, like removing unnecessary > casts etc. This is > only available as part of the quickfix machinery which isn't language > agnostic like the rest > of this stuff, so it would take a bit more time. > And here I am thinking you are working on JavaFX now ;-)
I use quite a few of the Save Actions, including the removal of unnecessary casts, but I guess formatting and import optimization are the only two I'd really miss. One thing that's really nice with the formatting in Eclipse 3.4+ is that you can restrict it to lines that you already changed, which is great if you work on projects where the Eclipse formatter might otherwise change unrelated code that is perfectly ok within the boundaries of the established style guide. You don't make friends by reformatting other people's code unless it is explicit part of the project culture. In some of the projects I work on the Eclipse formatter replaces the style guide, but often it is a bit more complicated. Peter --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to javaposse@googlegroups.com To unsubscribe from this group, send email to javaposse+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---