![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
| View Poll Results: What is your preferred text editor? | |||
| vi or vi clone such as vim |
|
810 | 72.97% |
| emacs |
|
62 | 5.59% |
| notepad |
|
64 | 5.77% |
| EditPlus |
|
54 | 4.86% |
| UltraEdit |
|
52 | 4.68% |
| pico |
|
23 | 2.07% |
| nano |
|
22 | 1.98% |
| mcedit |
|
8 | 0.72% |
| nedit |
|
15 | 1.35% |
| Voters: 1110. You may not vote on this poll | |||
|
LinkBack to this Thread: http://www.unix.com/unix-dummies-questions-answers/19593-what-editor-does-everyone-use.html
|
||||
| Posted By | For | Type | Date | |
| Le forum debian-fr.org • Afficher le sujet - Vim ou emacs: les chiffres! | This thread | Refback | 4 Weeks Ago 11:53 PM | |
| Keeping Search Engine Visitors Engaged - vBulletin.org Forum | This thread | Refback | 06-07-2008 07:15 AM | |
| Using Similar Threads Globally - vBulletin Community Forum | This thread | Refback | 06-05-2008 06:45 AM | |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Which editor to use? | Nafanja | UNIX for Dummies Questions & Answers | 5 | 11-29-2007 08:58 AM |
| set EDITOR=vi -> default editor not setting for cron tab | aarora_98 | Shell Programming and Scripting | 2 | 12-12-2005 07:53 AM |
| Vi editor | jazz | High Level Programming | 1 | 11-17-2005 04:37 AM |
| vi editor | eloquent99 | UNIX for Dummies Questions & Answers | 1 | 01-14-2003 01:49 AM |
| Using the vi editor | pbsys | UNIX for Dummies Questions & Answers | 2 | 11-05-2001 11:27 AM |
|
|
Submit Tools | LinkBack (3) | Thread Tools | Display Modes |
|
|||
|
Quote:
Using an IDE also forces you to do things a certain way. KDevelop forces me to use automake, for instance... This is a big problem because I hate automake. It's just that bad. KDevelop and automake singlehandedly gave me the impetus to learn the art of makefiles. Also, a lot of the time, a full IDE is overkill. Know any good IDE's for bash? Fat chance. Do any text editors have syntax highlighting for bash? Plenty! Also, not everyone uses the same IDE. I'm not about to buy CodeWarrior for the privilege of editing someone else's source code, and want to avoid cramming my own IDE-of-choice down their throat. Lastly, some people, for some reason, find smaller, tighter programs easier to use than all-singing-all-dancing-mash-everything-together-into-one-giant-interface monstrosities. I can't imagine why. Last edited by Corona688; 09-05-2006 at 03:12 PM. |
| Forum Sponsor | ||
|
|
|
|||
|
yes, I understand all that.. smaller is better. Large IDEs are greedy, annoying to learn your way around.. a nusiance just learning how to compile the program within the IDE!!
However, a debugger is very important!! Setting breakpoints. Watching variables. A text editor, as far as I nkow, doesn't offer this. I have heard that emacs has a debugger, but a poor one. |
|
|||
|
Not just a nuisance learning to compile inside it, it's even more of a hassle learning to compile outside it.
Emacs is a fine operating system, but I prefer linux. Did you check that program I linked, the Data Display Debugger? It's got all that good stuff you mention without an IDE. I find it essential for debugging any code that isn't my own. So you can have an editor that's good at editing and a debugger that's good at debugging, instead of one glorious hole that's not really good at anything. Last edited by Corona688; 09-12-2006 at 10:40 AM. |
|
|||
|
DDD - data display debugger, looks interesting. I hadn't heard of it before..
I had heard of "the omniscient debugger" for java.. but that's not really relevant. I found that the Eclipse IDE wasn't so annoying.. plus of course the good debugger it has in it. Though I can see why you'd prefer a text editor, it is slimmer. And still ess annoyign, even nice! But, it's not just the debugger.. Also, IDEs have a feature, i'm not sure what it is called. But a text editor probably wouldn't do this. It has a suggestion style autocomplete feature.. It knows all your methods(like functions/procedures) and variable names. And as you type a name, the drop down menu shows all the possibilities. This is very useful particularly in a language like java where you have these long identifiers, like ArrayIndexOutOfBoundsException, FileNotFoundException , IllegalARgumentException. There are many of these things.. This feature isn't about creating an abbreviation for them. But suggesting what method you are calling. Also, when you have an object, and you want to call some method, then as soon as you type object1. it'll list all the methods(functions/procedures) of object 1, with their parameters and types. And this is also useful because variables are case sensitive. And can be quite long. And also, you can browse around your code quite quickly within a file, because it bookmarks all the methods/functions, so you can just click the name of the function listed in one window, and in the other window it jumps to that portion of code. |
|
|||
|
For Windows, I am surprised no one has mentioned TextPad.
It has the usual libraries that makes colors for various types of code. You can also create your own color scheme if you have a more obscure need. You can search & replace using regular expressions. You can search and mark each line where it found an occurrence, and then act upon the marked lines. It saves about a dozen of your recent search strings and replace strings for quick reuse. It comes with some predefined snippets of code that you doubleclick to insert into the current document (examples are html code and ANSI codes). You can also save your own code snippets if you have some that you use all the time. You can select multiple areas in a single copy operation. You can turn on "block" select mode, which lets you select any square of text anywhere (handy when you want to delete a whole column of data that runs vertically down a file). You can record macros. I sound like a commercial for this software! Honestly, I don't work for TextPad, I'm just a loyal user! |
|
|||
|
vi might be a powerful editor but when u cant use backspace n hv to shift between different modes by pressing escape, dont u find it maddening? Is there an easier way to delete ur mistake while u r typing?
I just take the shortcut: use notepad n then copy paste in vi |
|
|||
|
Quote:
Quote:
Quote:
|
|
|||
|
Quote:
Quote:
Carl |
|
|||
|
Quote:
|
|
|||
|
Quote:
Try this: a) start INSERT mode, b) type "abcdefghijkl", c) hit backspace 3x, d) hit ESCAPE to leave INSERT mode. You should see the last three characters disappear. Backspace on most UNIX vi editors that I work on is not visibly destructive but when you hit ESCAPE, the backspace delete becomes evident. I haven't used VIM for a few months now and I can't recall whether it behaves the same or not. There is a reason why most seasoned vi users (at least from my point of view), who have learned how to utilize its considerable functionality, chose vi over other editors. It's not because they don't like other editors per se but, rather, it's more attributed to vi's utility and availabilty. Last edited by tmarikle; 10-26-2006 at 07:48 AM. |