The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
LinkBack Thread Tools Display Modes
  #92 (permalink)  
Old 09-12-2006
Registered User
 

Join Date: Jul 2006
Posts: 16
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.
Reply With Quote
Forum Sponsor
  #93 (permalink)  
Old 09-12-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 923
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.
Reply With Quote
  #94 (permalink)  
Old 09-14-2006
rgouette's Avatar
Registered User
 

Join Date: Sep 2006
Location: Maine
Posts: 4
Red face 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.

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
Reply With Quote
  #95 (permalink)  
Old 09-14-2006
rgouette's Avatar
Registered User
 

Join Date: Sep 2006
Location: Maine
Posts: 4
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....
Reply With Quote
  #96 (permalink)  
Old 09-15-2006
Registered User
 

Join Date: Jul 2006
Posts: 16
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.
Reply With Quote
  #97 (permalink)  
Old 09-28-2006
Registered User
 

Join Date: Aug 2005
Posts: 10
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!
Reply With Quote
  #98 (permalink)  
Old 10-02-2006
Registered User
 

Join Date: Dec 2005
Posts: 18
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.
Reply With Quote
Google UNIX.COM
Reply

Tags
linux, regex, regular expressions, solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0