Hi,
I’m currently using vi for developing in java but like the added functionality of Jcreater(for example). Does anyone know of any editor that does syntax highlighting, class browsing and has vi-style editing?
vim can do syntax coloring, auto indenting, and is very vi-like. I used to use it exclusivly but I’ve gotten old and lazy and now find NetBeans a pleasant enviroment for my dev work, others like Eclipse, and then there are the very passionate few that swear by IDEA. I plan to give IDEA a second chance when I start my next project and will find out if their passion is warranted or just inflated to fill that $400 void in their pockets.
[quote]Hi,
I’m currently using vi for developing in java but like the added functionality of Jcreater(for example). Does anyone know of any editor that does syntax highlighting, class browsing and has vi-style editing?
[/quote]
vi, wow - real hard core! They are still amongst us!
TBH, I’m not aware of any IDE that can do vi-style editing.
Vim is excellent - I use it just about exclusively. ;D
I had a lot of success in the past getting jVi to embed within JBuilder, but that was a while ago. Definitely worked with JBuilder 3.0-3.5 or so.
Eclipse can be pretty easily set up to launch Vim when editing a file is required - you get the benefits of an IDE but the keybindings of Vi/Vim.
Visual SlickEdit currently has support for Vi keybindings, and they’re working on Vim. Try the 30-day evaluation, but be warned it’s quite an expensive piece of software. Bloody good though!
Ah, this remembers me of the fact that also Together allows to use external editors!
Quite a high price for a vi launcher though…
If one happened to be on Kazaa sometime around 9PM EST tonight, and happened to do a search for “VisualSlickEdit” they might happen to find someone sharing a full version, maybe…
On a related note, anyone have any good advice regarding IDE’s with intergrated debuggers? While JCreator has served me well for something lightweight and free, debugging via system.out has become a serious pain since i’ve experienced Visual C++'s intergrated debugger…
[quote]On a related note, anyone have any good advice regarding IDE’s with intergrated debuggers?
[/quote]
I’ve yet to find a debugger that I thought had a good GUI. I feel like I need 2 more monitors to show all the info I want to see at once. Anyway, I use NetBeans which I find in world of “IDE” has a rather big “I”.
Eclipse has a nice debugger. Easy to use, plus lots of features I haven’t seen in other debuggers. Very configurable views, too.
I use eclipse for all the work I do…
It’s free and easy to get up and running (Same cannot be said about net beans…) :-[
NetBean is free and it’s not hard to setup. What is different is that it’s very Java centric. My friends complain that setting up the directories was confusing. The mount point system is more like the classpath. When you mount things you effectivly add that to the classpath. This abstraction is actually quite cool once you’ve worked with it for a while.
…drifting gently away from the ‘vi’ topic…
NetBeans rulez, BTW :-*
Thanks all for the responses. They a great help. I’ve tried vim but just couldn’t get used to the u/ctrl-r for undo/redo so I’ll stick to vi for now. But I will look into the mentioned IDE’s that are able to launch an external editor.
What keypresses do you prefer to use for undo/redo?
I want to use Visual SourceSafe with my IDE (currently Eclipse)…
It looks like there is a VSS plugin for eclipse, and it appears that NetBeans has some mehtod of accessing VSS as well.
What I want to know is, when preforming automatic refactorings, such as chaning the package that a class is in, or the name of a class, does the IDE automatically handle moving/renaming the file in the version control database?
Without handling the file moves (does CVS handle moving a file like that anyway?) and renames, that wonderfully useful automated refactoring would become a major pain! You woul haveot manually do all sorts of juggling in your version control system before you could check in… It would be worse than having to do all the refactoring by hand.
Please tell me that there are tools out there that can talk to VSS, that do refactoring and are smart enough to handle this situation.
I will be setting up a development system tomorrow… and if I have to choose a particular IDE to get this functionality I would appreciate being saved some grief of making the ‘wrong’ choice
thanks!
[quote]What keypresses do you prefer to use for undo/redo?
[/quote]
Ctrl-Z, Ctrl-Y
[quote]What I want to know is, when preforming automatic refactorings, such as chaning the package that a class is in, or the name of a class, does the IDE automatically handle moving/renaming the file in the version control database?
[/quote]
NetBeans does support VSS (don’t know how good), but does not track class renamings to the VCS.
I use RefactorIt for refactorings, which does not touch CVS neither.
Together supports refactorings downto the VCS and claims to support Microsoft SCC Interface Integrations. Never tried and never trusted it anyway…
[quote]I want to use Visual SourceSafe with my IDE (currently Eclipse)…
[/quote]
I can’t speak for Eclipse.
NetBeans claims to have support but I didn’t see a menu item for it and couldn’t find a module to support VSS.
IntelliJ IDEA claims to have support but I haven’t used it.
IDEA supports refactorings in CVS. I asked a collegue.
So at least it is not unlikely that it does so for VSS.
[quote]Ctrl-Z, Ctrl-Y
[/quote]
Fernie, if you want these for example, create a .vimrc (UNIX) or an _vimrc (Windows) in your home directory, and add the following to it:
" CTRL-Z is Undo; not in cmdline though
noremap <C-Z> u
inoremap <C-Z> <C-O>u
" CTRL-Y is Redo (although not repeat); not in cmdline though
noremap <C-Y> <C-R>
inoremap <C-Y> <C-O><C-R>
If under Windows I believe the default installation will cause Vim to set these keypresses anyway? Repost if you have any problems, or you’re after different undo/redo keys!