Use a real code editor, damnit!

Status
Not open for further replies.

Pont

Ars Legatus Legionis
26,160
Subscriptor
You're out there. I know you're out there. You're the people who use pico or notepad to edit your code (or you use an IDE and don't learn the shortcuts).

At minimum, a code editor needs to be able to do quick search and replace, replace-again, replace-all, indentation, and line-numbering. Matching parenthesis, braces, and quotes are pretty important features too. Infinite levels of undo is pretty necessary as well.

The small amount of time it takes you to learn the editor will be paid back many times over by your improved efficiency.

Any of you who still refuse to use a real editor, please post your reasons so that the rest of us can debunk them. ;)
 

dockeen

Ars Tribunus Militum
1,600
There was a time, long ago, when I was first getting
into using IRIX, that I used.....Jot.

Actually, come to think of it, I will still use Jot
from time to time to look at files....usually not
to program with.

I have known many very good coders who swear that vi
was given to man by God, and if I would ONLY learn
the true power of it, I could do ANYTHING! :)

Actually, I will use vi from time to time when I am
rlogged into another machine and want to look at a file.

Wayne
 

Sheriff

Ars Tribunus Militum
1,841
VC++ is just a lot more comfortable to me, mainly because of intellisense. Most times it just saves me from having to remember a complicated prototype. It doesnt really save me a whole lot of time, but it allows me to make more readable function names which can be a big help for me.

Its wierd though, i only do vertex and pixel shaders inside of textpad, it just doesnt feel right in VC. same with assembly.
 

dockeen

Ars Tribunus Militum
1,600
Its funny, I have never heard of UltraEdit before last night.
*Hangs head in shame*
In one night, I hear about it multiple times on distinctly
different threads. Is someone trying to tell me something?

By the way,a number of the people in the lab like
Visual SlickEdit. I have used it some, seems nice, though
I think it costs non-negligble $

Wayne
 

doug363

Seniorius Lurkius
14
Subscriptor
I must say I find Emacs pretty hard to beat once you've learnt it and got it worked out (quite a "but" there, I know). Although it doesn't have code completion to the same extend as other editors, it does have dynamic abbrevs (M-/ completes the word you're typing). And there are some great packages for it - one of my favourites is JDE (it's an IDE for Java). It's superb for debugging and code editing generally - makes a tree view of your classes/functions, calls up javadocs and all sorts of other neat stuff which you might not normally expect to see in a (mostly) text-mode editor.
 

indigo

Well-known member
5,606
Currently I'm using VS.NET (Seems quite a bit slower than VS6, can't even keep up with my typing half the time, I think it must be a configuration issue, I'm working with files on a share).

I like the auto-complete and color coding, otherwise I don't use much else... except the color map for bgcolor and the like...

If I could figure out a way to have it auto-cleanup code, indent table/tr/td tags, and nested If statements properly, that'd be really really nice though...

If there a way to turn this on, or have it scan and properly indent an existing document?
 

fats

Ars Praefectus
4,599
Subscriptor
Is this real enough? Or is there some reason why I should be using something else?

ide.jpg
 

cikkolata

Ars Scholae Palatinae
836
Originally posted by Pont:
Vim, Emacs, VS.NET, PowerBuilder, whatever. As long as you're not using Pico/Notepad/SimpleText.

#hangs head in shame# I use pico or notepad for writing html, quick scripts etc..

but I don't use them for everything, like longer perl scripts and stuff, syntax highlighting DEFINATELY comes in handy..
 

wb

Ars Legatus Legionis
25,208
Subscriptor
I love vim, but I will readily admit that I use VC++ to write most of my C++ apps thanks to intellisense. That has got to be the most handy feature evar. I used to constantly code with one window on documentation/headers/manpages and another on code. Now, I just code away, and fill in the appropriate information when the prototype appears magically as I type the opening paren.
 

Mindverse

Smack-Fu Master, in training
93
It is all a matter of personal preference. What's to say notepad coders are bad? Me personally, I would prefer notepad. I own Dreamweaver and other software, but when I use it I never can truly get exactly what I want. I never use anything, but notepad and don't think that will ever change. I make everything stick together the way I need it to and the find and replace technique has screwed me over in the past many times. Besides people who always code in notepad keep their skills very sharp in all areas not to say that all people using editors don't, but I know people that couldn't use notepad to write some things because they have been come accustomed to the editor. When I am done with a page I know exactly how my page is setup and again not to say that people that use editors don't, but I know many that can't maintain their code as well.
 

TheJet

Ars Praefectus
4,598
Subscriptor++
But "real" code editors allow you to just highlight the rows you want and hit Tab or Shift+Tab ;) Now if I could find one that could as easily auto-comment/uncomment, I'd be in heaven, currently you still have to use the IDE buttons in VB6 AFAIK.

Then again, I like UltraEdit much better than Visual InterDev for general ASP editing, I don't care much about syntax highlighting, auto-complete is OK, but for the most part, once you know a language, you don't need the autocompletion stuff :p I often find that editors that try to do too much end up hindering your experience, often times, and for simple projects notepad is the best tool. :D

TheJet
 

indigo

Well-known member
5,606
Has auto-indent... it's pretty cool, except that it likes to break up HTML that doesn't have nbsp's in it it seems....

Which makes reading it a little harder... and at first I thought it was auto-indenting nested If's, but after further work with it, I don't think so... if you don't indent your If's, it won't do it for you reliably. (AFAIK)

I like the window management alot better... it's like Opera as an IDE. ;)

Other than that... it's wicked slow on XP, and for some reason, intellisense no longer seems to automatically ucase a function when you do the tab-complete thing...

ie: In VS6, response.wr(TAB) would output Response.Write in Interdev, but now it puts out response.Write

Not a big deal... but I wonder why the change?

Copy&Paste commands are really incredibly slow... I don't understand it...

Other than those gripes, I like it. Now that I think about it, I need to reboot this box so I can upgrade it from 256MB to 512MB and see if that helps VS.NET's responsiveness...

[Edit]

Done. Seems a little better, though CPU peaks alot more than you would think for a Duron 800... Maybe I should throw in a new mobo and AthlonXP? Looking at performance monitor would make you think so... Who woulda thought a glorified text editor would warrant a processor upgrade? :D

[This message was edited by indigo on January 23, 2002 at 18:11.]
 

TheJet

Ars Praefectus
4,598
Subscriptor++
PeterB: Thank you, just what I was looking for, I'll give it a try tonight :)

petrov: does emacs take into account the language that you're working in and the lack/existance of block-style comments? If so, that's cool, if not, then it's pretty much useless unless you program in only one language. Personally, I could never remember all the damn key combinations to make emacs work the way I wanted it to, and I more often then not ended up in some place which I could never return from... It was rather annoying, but again, that's just a training issue.
 

AlphaMeridian

Ars Legatus Legionis
17,136
Moderator
I don't get it. Why should you dictate what I should be programming with?

Personally, I like pico, and notepad. both are unintrusive, and dont have too much fluff. I can take the file outputted, and compile it, or do whatever I want with it. Currently, i'm using VC++ 6.0 introductory (i'm hoping to find a cheap edu version soon) but 90 percent of the stuff there, I'm not using, nor will i ever use.

-Alpha
 

AlphaMeridian

Ars Legatus Legionis
17,136
Moderator
AlphaMeridian:
Professionals owe it to their customers/employers to use the appropriate tools of their trade (IMHO).

Professional development tools have time-saving (and bug-reducing) features that let you get more, better work done in less time. Don't let fear of learning hamper your skill development.

Heh. Well, theres a differerce betwen an CS major who will one day do this for a livng, and an EE major who just has to take 2 classes on it to get it out of teh way.

-Alpha
 
Status
Not open for further replies.