In the latter thread, Chris Smith and Dale King (both of whose posts
I've learned to respect) mentioned BlueJ in a teaching environment.
BlueJ certainly does look interesting, but I'm wondering what people
do when they're past the beginner stage ?
I've looked at JBuilder and Eclipse but they were very slow on my
PC (even with 800 Mhz and 256 MG RAM) and I found them frustrating.
Other than the debugger, what are the key features that you use
to make those decisions?
I'm sorry if this question has been asked before, but I did check
the archives and could find nothing in the last 2 years that
address the non-beginner.
Thank you,
Soefara.
-mw
"Soefara" <soefara...@hotmail.com> schrieb im Newsbeitrag
news:46756afd.02120...@posting.google.com...
> BlueJ certainly does look interesting, but I'm wondering what people
> do when they're past the beginner stage ?
Vim.
One of my previous "gurus" would kill me for saying so though,
he reccomended nvi.
I'm just a vi-agnostic.
Why vi? It takes practice to use, but it grows on you and is very
powerful once you're used to it. It's also relatively small and starts
up quickly.
What usually happens is that people start using some other tool.
But then they need to make this one small change, and don't want
to go back and restart the editor, so quickly-quickly it gets done
in vi. And that's the start down the long slippery slope. :-P
Some people prefer EMACS or XEMACS instead. I'll admit I do use
xemacs if I'm writing html sometimes. It has some nice features.
> Other than the debugger, what are the key features that you use
> to make those decisions?
In C and C++ you need a debugger just to find certain classes of error.
This is not the case for java, and I don't use a java debugger. It feels
clunky when you're used to hand-compiling in your own breakpoints and
watchpoints.
(-: Since entire religeous wars are fought over the topic
emacs vs vi versus other,
I hereby invoke Ed's law[*] to protect myself. :-)
In the hope that this is useful:
read you soon,
Kim Bruning
[*] Google for "Ed, the one true editor!"
> There's a recent thread "What's a good Java IDE for a beginner"
> and I saw an even earlier thread from a year ago with the same
> question.
Before you ask what IDE, first figure out if you need an IDE at all.
This is a note that has been missing from the threads you are referring
to. I don't think beginners need an IDE, and in particular I don't think
experienced programmers need an IDE!
What you do need is a powerful text editor. (X)Emacs whould be my
suggestion.
I used a debugger back in the C++ days, but experienced java
programmers doesn't need one.
I create my GUI's from scratch including GridBagLayouts etc. It
whould be nice with a simple wysiwyg frontend for this but it is not
essential. I like to stay independent. There once was a tool called
VisaJ which looked promising. I am not sure about its current status.
Finally you need a build environment. This is not hard to set up yourself.
See for instance http://geosoft.no/javamake.html
Bottom line: KISS!
Vim + ctags + "make && java com.xcski.Foo" for me.
BTW: Does anybody have a clean configuration file for vim to get that
"jump to the next error message" feature working with jikes?
About the only thing I feel the lack of in vim that a good IDE might be
able to give me is the whole "complete the method name, fill in the
arguments and maybe show me the javadocs for it in a popup". Oh, and
something that does the opposite of ctags, shows me who uses the
current variable/method/etc. Neither of those needs has been urgent
enough for me to retrain my fingers after nearly 17 years of using vi,
though.
--
Paul Tomblin <ptom...@xcski.com>, not speaking for anybody
"Leave the beaten track occasionally, and dive into the woods. You will be
certain to find something that you have never seen before."
-- Alexander Graham Bell
Emacs + JDEE
The key feature for me is productivity. Emacs has been developed from
the ground up by developers for themselves, and works very well for that
purpose. JDEE adds a lot of Java-specific features, but I don't use them
as much.
Depends on your goals. If you want to teach people to be successful
professional Java developers, then you start building skills in using
some more conventional IDEs. Just about anything will work; IDEs tend
to all involve similar or the same concepts.
If you're still interested in education in programming topics, then
honestly I don't see what's wrong with continuing to use BlueJ. It can
be used to write rather elaborate data structures and algorithms, and
its advantages carry over to there as well.
As far as personal choice, I use Eclipse at the moment (though it's
probably one of the least conventional of conventional IDEs).
> I've looked at JBuilder and Eclipse but they were very slow on my
> PC (even with 800 Mhz and 256 MG RAM) and I found them frustrating.
If you want fast, then another environment I've used and enjoyed in the
past is JCreator. It doesn't maintain local history or have refactoring
support, which kinda puts me off, but it does do popup completions,
syntax coloring, class and method browsing, and debugging. That's
pretty much the basics.
> Other than the debugger, what are the key features that you use
> to make those decisions?
Besides the "basics" mentioned above, refactoring support is big for me.
--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
: Finally you need a build environment. This is not hard to set up yourself.
: See for instance http://geosoft.no/javamake.html
Ouch.
--
__________
|im |yler http://timtyler.org/ t...@tt1.org
: Vim + ctags + "make && java com.xcski.Foo" for me.
: BTW: Does anybody have a clean configuration file for vim to get that
: "jump to the next error message" feature working with jikes?
You're already using "jikes +E" - I hope.
Weird, it's reasonably fast on my 500mhz PIII with 512 megs.
>
> Other than the debugger, what are the key features that you use
> to make those decisions?
Refactoring support. I can't live without it. IntelliJ's Idea got me
hooked. Now I use Eclipse. Other must have features are code completion
and a convenient code browsing interface.
: BlueJ certainly does look interesting, but I'm wondering what people
: do when they're past the beginner stage ?
: I've looked at JBuilder and Eclipse but they were very slow on my
: PC (even with 800 Mhz and 256 MG RAM) and I found them frustrating.
Eclipse is slow to start of, slow when changing context - and slow
*sometimes*.
The rest of the time it seems reasonably nippy.
If I find my tools running too slowly, I often find a better-spec'd
machine is an attractive alternative to ditching the tool on
performance grounds.
If I wasn't using Eclipse the other environments I would probably consider
are CodeGuide - and Visual SlickEdit.
> BlueJ certainly does look interesting, but I'm wondering what people
> do when they're past the beginner stage ?
> I've looked at JBuilder and Eclipse but they were very slow on my
> PC (even with 800 Mhz and 256 MG RAM) and I found them frustrating.
GNU Emacs and Sun J2DK. Anything else is just bells and whistles.
--
/-- Joona Palaste (pal...@cc.helsinki.fi) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"Keep shooting, sooner or later you're bound to hit something."
- Misfire
Or "productivity aids" as they're also known as. My productivity has jumped
considerably ever since I moved from JCreator to Eclipse.
kenny
> Before you ask what IDE, first figure out if you need an IDE at all.
> This is a note that has been missing from the threads you are referring
> to. I don't think beginners need an IDE, and in particular I don't think
> experienced programmers need an IDE!
I see lots of people touting a text editor and a make tool for Java
development. I don't understand this.
I would love to use vim and just run ant to build my project. It would
work fine actually, but it would be a pain in the ass.
I currently use CodeGuide from Omnicore.com. My project involves
almost 1000 classes and references many third-party class libraries.
Here are the things my IDE does that I can't live without:
Code completion and inline documentation. If I type "whatever." and
hit tab, it brings up a list of methods, shows me some of the Javadoc
comments, including parameters. I can't even remember the method names
and parameters in the classes I wrote, let alone some library that I
touch once a year.
Finding usages. I can go to anything, hit control+shift+i, and get a
list of where it's used anywhere in my source. Very handy.
Finding definitions. I can hit control+enter on anything to jump to
the source. This is quite a bit easier than manually finding the file,
opening it, and finding the method.
Hypertext error messages. When I compile or run from Codeguide, any
errors show up with web-style links. I can just click them to jump to
the class and line where the error occured.
Browsers. I can browse my files, and then just my classes. I can also
browse a tree of my current class methods and fields.
Debugger. Not the best debugger in the world, but does the job just
fine.
There are lots of other features I use on a daily basis that just make
life easier. When I get things working, I can just go to "tools" and
run ant to do a fresh build for distribution. Of course, anything can
do that, but it's nice to have it right there.
I've tried lots of different editors. None of them would make my life
better while developing a massive project than Codeguide. I just tried
jEdit today, and it's not bad. You can automatically download
"plugins" to do some of the features I listed here, but most of them
just don't work as well as my IDE. I think I might try jEdit at home
for small projects though.
So anyway, I like IDEs. Codeguide is cheap too, compared to the
others.
Me either. Why go back to a text editor when there are decent, free
refactoring IDEs? The vi commands are still someplace in my brain, but I
can't think of any good reason to find them.
> BlueJ certainly does look interesting, but I'm wondering what people
> do when they're past the beginner stage ?
I have tried a large number of IDEs, and have settled on refactoring
ones. While code completion was what got me hooked at first (thus
JBuilder and recent versions of CodeWarrior qualify), I ended up finding
the refactoring support to be the most important set of features, and
the ones that save me the most time.
> I've looked at JBuilder and Eclipse but they were very slow on my
> PC (even with 800 Mhz and 256 MG RAM) and I found them frustrating.
Try more RAM. The M3 builds especially have some memory leak problems,
but even so, you should have enough horsepower to run them as long as it
is not swapping.
I have tried IDEA, but am now waiting until it is out for my TiBook.
Once it is, I shall try it again. It appears to be faster and a bit
more solid than Eclipse, but I am very impressed with the progress
Eclipse is making.
As far as the "vim/emacs/BBEdit" thread, we do use ant for all
production builds, so one can do small amounts of work with just a text
editor. That said, once I start doing serious work that will take more
than a moment, I break out the IDE.
Scott
Goedy> Jacob Dreyer <jacob....@geosoft.no> wrote in message
Goedy> news:<3DEB7247...@geosoft.no>...
>> Before you ask what IDE, first figure out if you need an IDE at
>> all. This is a note that has been missing from the threads you
>> are referring to. I don't think beginners need an IDE, and in
>> particular I don't think experienced programmers need an IDE!
Goedy> I see lots of people touting a text editor and a make tool
Goedy> for Java development. I don't understand this.
Goedy> I would love to use vim and just run ant to build my
Goedy> project. It would work fine actually, but it would be a pain
Goedy> in the ass.
Goedy> Here are the things my IDE does that I can't live without:
Goedy> Code completion and inline documentation.
Goedy> Finding usages.
Goedy> Finding definitions.
Goedy> Hypertext error messages.
Goedy> Browsers.
Goedy> Debugger.
Goedy> When I get things working, I can just go to "tools" and run
Goedy> ant to do a fresh build for distribution.
Here is the problem, of course. Many people mean different things by
"IDE" and "Editor". Emacs, for example, which is an editor, does all
of these things, as well as a few more, like easy generation, and
sorting of imports, which I find essential. The debugger is a little
ropey, but as I tend to build using a lot of tests I don't find this a
problem.
This makes it the perfect solution for me. I write in a lot of
languages, and many of these features work for all of them, which is
not true of some of the bigger IDE's. Consistency is more important
than absolute functionality.
You pays your money, you takes your choice.
Phil
I think I'll have to upgrade my PC and try Eclipse again as that
seems to be building momentum.
I don't know what "Refactoring" is so did a quick search on google.
It sounds more like something people do
(http://www.refactorit.com/index.html?id=397)
as opposed to something that can be automated in an IDE. I'll have
to investigate more.
Something that nobody has mentioned here but which I've yet to see
in an IDE is the ability to input Japanese or Chinese languages.
As it is I always have to write ResourceBundles with MS Word !,
when it would have been nice to stay within the IDE. I've been
using Omnicore CodeGuide which somebody else has mentioned is a
nice little IDE.
As for debugging, I mainly develop servlets so debugging them
consists of writing to the log file or System.out.println()
Do any of the IDEs integrate with a servlet engine allowing proper
debugging ?
Thank you again, everybody 8)
Soefara Redzuan.
Emacs *is* a productivity aid.
(BTW, from what I can see of them Eclipse and Emacs+JDEE are very close
in functionality, with the added difference that Emacs is currently good
for working in several languages).
> Something that nobody has mentioned here but which I've yet to
> see in an IDE is the ability to input Japanese or Chinese
> languages. As it is I always have to write ResourceBundles
> with MS Word !, when it would have been nice to stay within the
> IDE. I've been using Omnicore CodeGuide which somebody else has
> mentioned is a nice little IDE.
Emacs has strong support for Multi-byte character sets and
keyboard entry, therefore its java IDE would have this.
--
Galen Boyer
Please do. Read Martin Fowler's book "Refactoring". The subtitle is the
best definition I've found: "Improving the design of existing code." It's
the best programming book I've read in the last 5 years.
Refactoring is "something people do" and as such there are tools to make it
easier. Refactoring "browsers" started in Smalltalk and are almost
universally used in that community. Java IDEs like Eclipse and Idea provide
automated support for common refactorings like extract method, inline temp,
pull up field, etc. Just highlight the code you want to refactor and hit a
hot key.
>
> As for debugging, I mainly develop servlets so debugging them
> consists of writing to the log file or System.out.println()
> Do any of the IDEs integrate with a servlet engine allowing proper
> debugging ?
All of them do. Just run the app server in debug mode in the IDE.
Chris
Chris
Chris
A Bag Of Memes wrote:
Perhaps. I learned Java before there were any IDEs, and I learned
programming long before Java, so it's hard for me to imagine what it's like
to learn it today. But I wonder if knowing how to build without an IDE is
that helpful anymore. Does knowing how to use a slide rule really help one
use a calculator?
Ideally everyone should learn assembly, but I don't think it's vital to
every programmer out there.
> Something that nobody has mentioned here but which I've yet to see
> in an IDE is the ability to input Japanese or Chinese languages.
Vim is internationalised and supports at least japanese and korean.
I'm not sure about chinese.
If you're running it on the console this does depend somewhat on
the consoles' support for same.
> As for debugging, I mainly develop servlets so debugging them
> consists of writing to the log file or System.out.println()
> Do any of the IDEs integrate with a servlet engine allowing proper
> debugging ?
Actually that isn't such a bad way of debugging code in general you
know. Maybe it's just me.
Learning assembly is another thing altogether.
A Bag Of Memes wrote:
I don't know any VB folks. Does it keep hinder their development of VB apps
that all they ever see is the IDE?
Our product has about 3500 files. I use PC with 522 MB of RAM with CPU
speed about 900MHz.
I find Eclipse performance reasonable.
> Other than the debugger, what are the key features that you use
> to make those decisions?
Debugger. Eclipse takes advantage of JDK 1.4 and you can edit your code
without restarting Java application. Eclipse debugger is an attempt to
provide debugger environment similar to smalltalk.
Eclipse has a reasonably powerfull refactoring tools. Sooner or later you
will need it.
Simple help such as go to the definition of the method/class. Show all
usages of the method. Show all interface implementations. Simple
conviniences like sort all imports (editor based users like it a lot) or
more important things like organize imports based on the rules (first three
imports are by class after that just import the whole package and yes it is
sorted already).
From the corporate point of view a unified coding style can be enforced, but
will take some effort.
You will get all your errors highligted. F2 will display the error message.
You can configure debugger to display warnings such local variables not used
in the method, which helps to keep code clean.
Code completition is important for a big project where often you simply
don't remember all the names.
Those who like CVS will find CVS integration very reasonable. Local class
and method (!) history is maintained even if you don't use CVS.
Projects dependency is important for the big products.
XP practitioners will like JUnit integration.
Release enginering is integrated with Ant.
Eclipse is not only the tool. It is a platform. You can find UML modeling
tools integrated with Eclipse.
What is missing. Gui editor. You may use some GUI builder to build Views.
If you use MVC that is all you need to build a GUI. If you like to build
GUI manually you will never notice that GUI builder is missing. IBM is
working on GUI builder.
....................................................
I used the following tools before I started to use Eclipse: VIM, Emacs,
JBuilder, Netbeans, back to JBuilder, Visual Age for Java, Eclipse.
1. VIM, Emacs, UltraEdit, JEdit belong to the same editor based category.
VIM requires a lot of work to setup up the process. You have to maintain
ctags application. You will never get a proper debugger. You have to
maintain scripts to start different java applications. A lot of work which
should be handled by a tool is a manual work. I spent about 2 years in
editor based coding. What a mistake. Emacs was to difficult to learn after
VIM. Emacs provided debugger, but it was impossibly slow and very hard to
use. If you torture yourself for a year you will probably like editor based
environment.
2. JBuilder
It is very nice and it is very simple. I used JBuilder 4. Think about it as
an editor optimized for the java development. It has a very nice way to
build GUI. Debugger was slow, but it was a lot faster then debugger in
emacs. Debugger was improved in a newer version of the JBuilder. It will
be the least painful environment after you move from editor environment.
3. Netbeans.
More powerful then JBuilder. It is also the slowest IDE I have ever used.
Usability of this IDE is the lowest. It has a bad layout of the components.
Its power is in GUI builder, but the weakness of this builder is in parts of
code developer is not allowed to modify directly. It had more features then
JBuilder. It was also harder to start using.
4. Visual Age.
Perhaps the most difficult to start using if you have never used Smalltalk.
It was very slow. It works only with Java 1.2. It is image based.
5. Eclipse.
See the beginning of this post. It has been the best environment for me so
far. I don't spend time taking care of proper tags generation and all other
little details editors enforce to worry about.
>Soefara wrote:
>
>> There's a recent thread "What's a good Java IDE for a beginner"
>> and I saw an even earlier thread from a year ago with the same
>> question.
>
>Before you ask what IDE, first figure out if you need an IDE at all.
>This is a note that has been missing from the threads you are referring
>to. I don't think beginners need an IDE, and in particular I don't think
>experienced programmers need an IDE!
Do experienced programmers need an IDE? No. Can experienced
programmers put an IDE to good use? Certainly. IDEs are not necessary,
but they are useful. The same can be said of most programming
constructs that go beyond simple BASIC. That doesn't mean we should
discard them.
The most important aspect of using an IDE is (in my opinion) not the
code it can generate for you through powerful wizards, but the way a
good IDE lowers the distance between idea and code.
>What you do need is a powerful text editor. (X)Emacs whould be my
>suggestion.
I haven't kept up with the development of Emacs over the last couple
of years, so maybe my comments are out of date. In my view, what you
need is a powerful, *code-savvy* editor. Live templates, code
completion, easy access to documentation, code analysis, refactoring,
and smart code-search (find usages, implementing methods, and so on)
are all part of making your time more productive and your code better.
>I used a debugger back in the C++ days, but experienced java
>programmers doesn't need one.
As above, I would say that just because you can do without a debugger
doesn't mean that you shouldn't use one. Some problems are better
solved by logging what the program does, other problems are quickly
solved by just reading the code, but a lot of problems might be solved
very easily by just stepping through a few lines of the offending
code. This will often give you a real "aha"-experience that'll make
you more efficient in solving the problem.
>I create my GUI's from scratch including GridBagLayouts etc. It
>whould be nice with a simple wysiwyg frontend for this but it is not
>essential. I like to stay independent. There once was a tool called
>VisaJ which looked promising. I am not sure about its current status.
I don't use a GUI builder, either. I use IntelliJ IDEA, which doesn't
even come with a GUI builder. I've tried JBuilder but the code it
produces is a mess.
>Finally you need a build environment. This is not hard to set up yourself.
>See for instance http://geosoft.no/javamake.html
>
>Bottom line: KISS!
Simple, as far as I'm concerned, means that I shouldn't need to bother
with getting routine stuff right. I want to just do it.
Don't get me wrong. It might be that IDEs are not for you. But you
shouldn't assume (as many have done in this thread) that it's just a
lot of fluff. Using an IDE may have a severe impact on the way you are
working.
Netbeans allows you to input Japanese text just fine, and I'm pretty
sure the same is true for Chinese and for Eclipse. However, it only
works "out of the box" if the system locale is set to Japan, which
also causes all menus to be in Japanese and requires a reboot on
Windows. I suspect that Japanese input with a Western locale can
be made to work by tweaking the fonts.properties file of the JRE.
>Thank you very much to everybody for offering all of the advice.
>
>I think I'll have to upgrade my PC and try Eclipse again as that
>seems to be building momentum.
256MB is a minimum with most of the Java IDEs I've tried. The clock
frequency seems to play a smaller role.
>I don't know what "Refactoring" is so did a quick search on google.
>It sounds more like something people do
>(http://www.refactorit.com/index.html?id=397)
>as opposed to something that can be automated in an IDE. I'll have
>to investigate more.
Refactoring - as opposed to rewriting - uses small, well-defined steps
in transforming the code. Many of these steps are sufficiently small
and well-defined to be automatable.
I've been forced to use SQLServer Enterprise Manager when working
in that environment. Many times, I've been frustrated that alot
of the guts of the system where hidden from me, as opposed to
Oracle, where I have the entire brain of the database sitting
there waiting for me to ask questions.
I think both a coding environment and architectural knowledge of
that environment are a good thing. There were many times when I
was very happy just having to click a couple of buttons to get my
SQLServer work done.
I feel this analogy holds up with the IDE argument. To me, both
an IDE and someone who can code with notepad and javac are
powerful skills. If I needed someone for a 2 month project, I'd
choose the someone who knows an IDE. If I needed someone for a
2-year project, I'd be more inclined to go with the fellow who is
comfortable with knowing how it all fits together. He could pick
up the IDE in a day. The IDE only guy could be architecturally
challenged in many ways.
--
Galen Boyer
A noble cause but sometimes a bit misguided and more trouble in the end.
Chris
A Bag Of Memes wrote:
Robert Wappler...
I'll second that (or third, or fourth; I've lost count). I develop
entirely in Vim with the addition of some Vim macros I've written for
my own use (such as one-button expansion of private variables into
getters and setters, etc.)
The problem with IDE's (especially for beginners) is that you end up
devoting a significant amount of time learning the IDE itself --
fiddling with plugins, figuring out which dialog box contains the
option you need, etc. Then if you manage to get up to speed on one,
you have to go through the same learning curve all over if you are
required to switch.
The second problem is that IDE wizards such as GUI builders are
generally only useful for initial coding. They don't usually handle
rework or importing of outside code cleanly nor produce code a human
can easily read. Even if they do manage this, the code they produce
is not portable to other GUI builders or IDE's on the same basis
(i.e., useful imports of higher level design chunks)
Java is not complicated.
Editing a file is not complicated.
Typing "javac" is not complicated.
Once you have thousands of files and you're designing hundreds of
write-once GUI's, an IDE might be helpful. I still think, though, that
good programmers can better employ their talents by writing Vim or
Emacs macros that do specific tasks they find useful.
--
Phil Hanna
Author of JSP 2.0: The Complete Reference (real soon now)
http://www.philhanna.com
Could I ask how long it would take to write a Vim or Emacs macro to do
the same kind of refactoring I can do easily in Eclipse? Simple ones like
renaming a package or class would be relatively easy (trivial for the
class itself, of course, and fair easy to change the classes which
reference it, but still requiring a bit of work). However, I suggest that
even to a fairly experienced programmer, it would take longer to write
something such as "extract method" which correctly deals with the various
cases of returning values and working out which parameters need to be
passed than it would take to learn to use Eclipse.
--
Jon Skeet
sk...@pobox.com - http://www.pobox.com/~skeet
If replying to the group, please do not mail me at the same time
Try starting eclipse with -data <workspace dir> switch.
I guess if you unpack eclipse in /opt/eclipse and create a simple shell
script, you might get fully supported multiuser eclipse installation.
#!/bin/zsh
cd /opt/eclipse
LD_LIBRARY_PATH=/opt/eclipse ./eclipse -data $HOME/workspace
I don't know what will happen if some user tries to upgrade the
installation.
--
Davor Cengija, dcengija...@inet.hr
> BlueJ certainly does look interesting, but I'm wondering what people
> do when they're past the beginner stage ?
My last project had around 3,000 Java source files comprising
more than 80,000 lines of code. My colleagues (some of whom I
would consider to be "experienced Java programmers") would use
JBuilder 5 as a standard.
I've been using Vim (on Win32 and UNIX alike) for editing. On
Windows I would set my JBuidler to use Vim as the editor.
The Jikes compiler.
JDB for debugging (I did consider using a GUI front-end to it
but never really felt the need to).
On UNIX I would use "mmake" (note the double 'm') to generate a
single Makefile for the entire source (3,000+ files). Wanted to
check out Ant but never found the time to learn it nor did I
ever feel the need to.
I used a program called JTags to generate a TAGS file for Vim.
JTags is written in Java and the TAGS file works pretty damn
well with Vim.
CVS for version control. WinCVS on Windows.
So here I go again (with a sense of deja vu): my favourite
"IDE" is GNU/Linux + Bash + Vim + Make + Jikes + JTags + CVS +
(...). That's the UNIX way of doing things. ;)
Manish
"The statements and opinions expressed here are my own and do
not necessarily represent those of Oracle Corporation."
Pssst. "Exuberant CTags" works perfectly and is written in C.
http://ctags.sourceforge.net/
--
Paul Tomblin <ptom...@xcski.com>, not speaking for anybody
"Fly the airplane, then work the problem"
-- Rick Grant (quoting RCAF pilot training)
> Could I ask how long it would take to write a Vim or Emacs macro to do
> the same kind of refactoring I can do easily in Eclipse?
Depends on the macro.
>Simple ones like
> renaming a package or class would be relatively easy (trivial for the
> class itself, of course, and fair easy to change the classes which
> reference it, but still requiring a bit of work).
There's some tricks with regexps which are nearly as fast already in fact,
and give lots of control.
> However, I suggest that
> even to a fairly experienced programmer, it would take longer to write
> something such as "extract method" which correctly deals with the various
> cases of returning values and working out which parameters need to be
> passed than it would take to learn to use Eclipse.
That sounds like eclipse is pretty easy to learn indeed.
Hmmm, as a fun challenge, could you give us a functional
specification for "extract method", so that we could give it a shot?
(I might try for fun when I have some free time :-) )
read you soon,
Kim Bruning.
Well, Emacs can do it 'easily' since it's macros are lisp. As to the
details on how long, you could ask one of those people who already have
solutions out for it. :-)
> However, I suggest that
> even to a fairly experienced programmer, it would take longer to write
> something such as "extract method" which correctly deals with the various
> cases of returning values and working out which parameters need to be
> passed than it would take to learn to use Eclipse.
That might be. But for Emacs, one could just piggy-back on JDEE.