Sponsored Content
The Lounge What is on Your Mind? vi/emacs against Eclipse (and the likes) as IDE Post 302452481 by anthalamus on Friday 10th of September 2010 03:55:51 PM
Old 09-10-2010
vi/emacs against Eclipse (and the likes) as IDE

Ok, I have to ask... Smilie

At the risk of starting a huge controversy (yet another), I must ask the question: why would one want to use vi/emacs* to edit bash, awk, perl, python, [...] scripts or java, c/c++, [...] programs

It all started because I'm looking for a good IDE to edit my bash scripts and from what I see on the web, a lot of people seem to find vi or emacs amazing for that. For instance:
Linux.com :: Turn Vim into a bash IDE
Bash IDE Recommendations - Ubuntu Forums

Now the majority of my personal experience with IDEs come from using Eclipse for my java programing. To be honest it would never even cross my mind to work on a big java project using something like vi/emacs*

* I should mention here that my experience with vi/emacs is extremely limited. However I do believe that they are both console-oriented tools (let's exclude emacs' GUI for the sake of the discussion... kinda). Apologies for the ones who will be offended by the coupling of those 2 tools throughout my post, comparing them is not the point of this post and from Eclipse's point of view, they are rather similar.

So back to Eclipse**. When I code in Java, among the many things I expect from Eclipse are:

- syntax check (including warnings)/real-time compilation
- refactoring (renaming, moving, extracting values, methods, ...)
- (fairly) clean project-oriented structure
- versioning (CVS, SVN,...)
- Running/Debugging (step by step, value of variables, breakpoints, ...)
- templates, auto completion
- following dependencies (F3 on a class name brings you to it, ...)
- hover over documentation
- reverse engineering (although I usually use NetBeans for that)
- multiple languages integration (EPIC for perl, ...)
- Others: comparing files, exporting as jar/zip/...,

That's just off the top of my head, I'm probably missing many more. Now I really don't see how something like vi/emacs* could compete with that kind of features, most of them requiring pretty complex GUI interactions. Don't get me wrong, I'm sure vi/emacs* can be unbeatable on editing files as general editors, but as far as programming/scripting go and for specific languages, I don't see how they could be more suitable than something like Eclipse**.

** note that I'm sure NetBeans is great too, let's not get into comparing those two, or any similar ones for that matter

I heard there are a few Eclipse plug-ins for bash, I'll try them soon. They may not have all the afore-mentioned features yet, but surely they COULD (since Eclipse's got pretty much everything it takes).

Now for people interested in providing their input, PLEASE put your ego/faith aside and only bring up ARGUMENTS in favor (or defavor) of vi/emacs*. I'm actually quite curious to see what people have to say, and eager to discover unsuspected things about vi/emacs*..!! Smilie

Cheers,

Anthony
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

shift hard disk from primary IDE channel to secondary IDE channal

Wellcomes All, some times ago I 've installed a Debian ditribution on an Hard Disk who was set as Primary Master. Few days ago, I 've decided to install another Hard Disk with a different Operating System. When I did that, I turned off the old hard disk, and I mouted the new one on the Primary IDE... (1 Reply)
Discussion started by: thekarsillo
1 Replies

2. AIX

Substrings and the likes in AIX 4.2 ?

In AIX 4.2, are there any shell commands to do substrings and the text like manipulation commands ? I want to take an error log where errors are multi-ligned and convert them into single lines to ease tracking/monitoring. I may need to shorten them out too. If I can manage to put them into an... (2 Replies)
Discussion started by: Browser_ice
2 Replies

3. Programming

debug with eclipse

Hi, i' m using eclipse 3.2.2 on ubuntu. When i debug a program (C language) i cannot see any variable in the variables view. From the console (debug perspective) i can see the message: no source file named class.c. What is the problem??? thanks (1 Reply)
Discussion started by: littleboyblu
1 Replies

4. HP-UX

Eclipse 3.1 on HP-UX 11i

Hey guys how do you run eclipse on HP-UX 11i? there's a startup.jar and an eclipse file ( which is not an executable ) I get different errors try to run the jar file with different java versions. I have all the possible java vm's installed. (0 Replies)
Discussion started by: binary0x01
0 Replies

5. Solaris

Eclipse for Solaris

i am trying to install weblogic 10.3 but for some component need eclipse from where i can download eclipse and how to install it (2 Replies)
Discussion started by: xxmasrawy
2 Replies

6. Web Development

Can i lock Eclipse IDE workspace ?

i joined an institute multiple users use the system there is any way to password my workspace... (0 Replies)
Discussion started by: seshumohan
0 Replies

7. Shell Programming and Scripting

Capturing first output from 'top'-likes command

Is this a stupid code?? top > top.out & sleep 2 kill %1 cat top.out Thanks, (6 Replies)
Discussion started by: Shawn, Lee
6 Replies

8. Solaris

Eclipse for Solaris 11

I downloaded eclipse for x86. However when I try to start it I get the following:- ld.so.1: eclipse: fatal: relocation error: file /usr/lib/firefox//libxul.so: symbol __1cHmozillaJHashBytes6FpkvI_I_: referenced symbol not found Killed This file libxul.so is in /usr/lib/firefox. How do I get my... (6 Replies)
Discussion started by: Tenyhwa
6 Replies

9. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies
MAILCAP.ORDER(5)					       Order Mailcap Entries						  MAILCAP.ORDER(5)

NAME
/etc/mailcap.order - the mailcap ordering specifications DESCRIPTION
The order of entries in the /etc/mailcap file can be altered by editing the /etc/mailcap.order file. Each line of that file specifies a package and an optional mime type. Mailcap entries that match will be placed in the order of this file. Entries that don't match will be placed later. Example mime-support:*/* gv:application/postscript netscape:text/html less:text/* emacs:text/* The above would make any entries provided by the mime-support package (as found in the /usr/lib/mime/packages directory) take priority over everything else. The gv package will be used over anything else when it comes to postscript documents. Netscape will be used for any html documents and less will be used for any remaining text documents. However, since neither netscape or less provide for editing documents, any edit or compose actions will fall through to the emacs rules. After modifying this file, be sure to run /usr/sbin/update-mime (as root) to propagate the changes into the /etc/mailcap file. Remember that this files takes package names and not executable names. If you want to define rules that reference specific programs, the best way is to include them in ~/.mailcap or the user section of the /etc/mailcap file. LIMITATIONS
There is currently no way to break out a certain type from a wildcard rule. If, for example, both xv and gimp were to specify "image/*" rules, it isn't possible to use xv for gif images but use gimp for jpeg images. Also, I would like to add the ability to specify certain actions in the rules. For example, if netscape were to have an edit rule but I wanted to use emacs for editing/creating html documents, I could place a line like emacs:text/* action=edit|compose before the netscape entry. The update-mime program would then spit out entries such that netscape view rule comes before the emacs view rule but have the netscape edit rule comes after the emacs edit rule. AUTHOR
The mailcap.order specification was written by Brian White <bcwhite@pobox.com> Debian Project 16th Aug 1998 MAILCAP.ORDER(5)
All times are GMT -4. The time now is 08:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy