What editor does everyone use?


Poll: What is your preferred text editor?
Poll Options
What is your preferred text editor?

 
Thread Tools Search this Thread
Top Forums Programming Open Source What editor does everyone use?
# 92  
Old 09-14-2006
Power emacs & libs

I'm a bit of a newbie...and started in again with unix duties as part of my new job.
I promptly set up a SUSE box..(is SUSE ok around here?)
I then remembered having used Emacs once, and liked it...

So, I downloaded the gz & after about 1/2 hour of getting "you are missing this frikin lib . now you're missing that frikin lib..." messages I gave up. Smilie

Either this linux installation is missing tons of libraries, (SUSE Pro 9.2) or there is still not a user friendly means of installing packages to date on a Linux machine...

However, being a self described newbie, I'm open to having gone about it wrongly..

I really would like to get emacs up & going...
Rich
# 93  
Old 09-14-2006
Well, silly me..
I musta been going aboot it the wrong way..
Just went to 'Software' via Yast & it asked for CD#3...
man, what was I thunkin....
# 94  
Old 09-15-2006
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.
# 95  
Old 09-28-2006
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!
# 96  
Old 10-03-2006
I like to use nano, it's nice and lightweight. Vi is also good, I need to learn the more advanced features though. Pretty much anything but Emacs.

Emacs got owned.
# 97  
Old 10-19-2006
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 Smilie
# 98  
Old 10-24-2006
Quote:
Originally Posted by napolayan
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
Hardly! What I find maddening is that ESC and i,j,k,l don't work the same in MS Word or Outlook.
Quote:
Originally Posted by napolayan
Is there an easier way to delete ur mistake while u r typing?
Your VI can't use backspace while your'e typing?
Quote:
Originally Posted by napolayan
I just take the shortcut: use notepad n then copy paste in vi Smilie
I hope you're kidding. Certainly learning how to use a few keystrokes is far easier than opening a document in notepad, selecting and copying to the clipboard, opening a terminal session on UNIX if it's not already, entering VI, potentially erasing every line in the file, entering into INSERT mode, and then pasting.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Not able to use @ in VI editor

Hello All, Need one Help for one issue. I am using a French Keyboard, so @ sign is on key 0 and i have to use right Alt + 0 to print it. It is working everywhere but not inside Vi editor. I can type @ in shell, in notepad. But inside Vi editor it is not working, another problem is that if... (2 Replies)
Discussion started by: yadavricky
2 Replies

2. Shell Programming and Scripting

About vi editor

How can ` character be printed on vi editor ? empl_id=`echo $line | awk ' { print $1; } '` (2 Replies)
Discussion started by: senem
2 Replies

3. Solaris

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

4. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

5. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

Hi, I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question. How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'? As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies

6. HP-UX

vi editor

I am new in hp ux and I want work with vi editor, but in hp ux vi editor the backspaes and del keys doesn't work. how can I enable them. thanks (3 Replies)
Discussion started by: hkoolivand
3 Replies

7. UNIX Desktop Questions & Answers

best editor

We work on AIX 5L We use vi as text editor (only scripts to create and modifiy). What do you think of emacs ? Where can I find it ? Do you know better text editor for scripts ? Thank you for all answers. (1 Reply)
Discussion started by: annemar
1 Replies

8. UNIX for Advanced & Expert Users

vi editor

Hi, how can I add at the begining and at the end of all of the lines of my text file in VI editor ? Many thanks before. for exemple if in my file i have line 1 line 2 I want to have : start line 1 end start line 2 end (3 Replies)
Discussion started by: alain123456
3 Replies

9. HP-UX

instead VI editor - which one?

I'd like to find some editor for HP-UX, something like notepad, but not VI editor. Can someone have some ideas which one? thx (6 Replies)
Discussion started by: diamond
6 Replies

10. Shell Programming and Scripting

Vi editor ?

Hello everybody, My question is: how to add /tmp/work at the end of line in vi editor. my file looks like: cp file1 cp file2 cp file3 **** I need to add " /tmp/work" at the end of each line. I tried this :%s/$/" /tmp/work" and this :%s/$/\ /tmp/work\/ but it does not work. (2 Replies)
Discussion started by: billy5
2 Replies
Login or Register to Ask a Question