![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 |
|
871 | 73.44% |
| emacs |
|
66 | 5.56% |
| notepad |
|
66 | 5.56% |
| EditPlus |
|
58 | 4.89% |
| UltraEdit |
|
54 | 4.55% |
| pico |
|
23 | 1.94% |
| nano |
|
25 | 2.11% |
| mcedit |
|
8 | 0.67% |
| nedit |
|
15 | 1.26% |
| Voters: 1186. You may not vote on this poll | |||
|
|
||||
| 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 |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
|||
|
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! |
| Tags |
| linux, regex, regular expressions, solaris |
| Thread Tools | |
| Display Modes | |
|
|