#19657 - mymateo - Fri Apr 23, 2004 4:40 am
Hi, and thanks for reading my post!
I've been using Notepad to write my code, and I'm sure SOMEone's cringing right about now, understandably... understandibly... I can't spell, but I can tell why they're cringing.
I can't tell what freaking line I'm on without commenting every ten lines (which is a pain when I add a function), or scrolling from the top, counting as I go, so I can never tell where these errors DevKitAdvance is giving me are. (Was that proper english just now? Eh...)
Does SOMEone know of a text editor that shows what line you're on? Even better, one that will color-code my code? (I.E. Black for comments, green for variables, light blue for function names, that sort of thing?) I would be greatful! And you can smack me if I've overlooked something really simple, too. Stupid people deserved to be smacked! :-P
#19658 - niltsair - Fri Apr 23, 2004 5:01 am
VisualC++ IDE.
UltraEdit ( http://www.ultraedit.com/products/index.html )
_________________
-Inside every large program is a small program struggling to get out. (Hoare's Law of Large Programs)
-The man who can smile when things go wrong has thought of someone he can blame it on. (Nixon's Theorem)
#19659 - poslundc - Fri Apr 23, 2004 5:21 am
ConTEXT - it's free, and it rocks.
Dan.
#19660 - Chris - Fri Apr 23, 2004 5:21 am
I know what you mean. Whats more, is you have to have a lot of notepad windows open if you want to edit large games. Anyway, Here's what I use:
[Images not permitted - Click here to view it].
Visual Ham
It's designed for the Ham Library, but I use it with DevKitAdvance. (and you can use it for anything else too).
-Chris
#19663 - sajiimori - Fri Apr 23, 2004 6:13 am
Another vote for ConTEXT. My life wouldn't be the same without it.
#19664 - ScottLininger - Fri Apr 23, 2004 6:44 am
EditPlus
http://www.editplus.com/
It rocks, uh, too.
It's very affordable shareware, but you can try it for as long as you like. I used it for years before I finally felt guilty and ponied up some cash. ;)
#19665 - NoMis - Fri Apr 23, 2004 7:15 am
Dev C++ free!!
Eclipse Free, Multiplatform!! (my all time favorit ui)
NoMis
Last edited by NoMis on Fri Apr 23, 2004 10:15 am; edited 1 time in total
#19672 - FluBBa - Fri Apr 23, 2004 9:17 am
NEdit free and multiplatform, don't know if the others are multiplatform?
_________________
I probably suck, my not is a programmer.
#19678 - mymateo - Fri Apr 23, 2004 10:34 am
Wow, I didn't expect so many replies so soon!
Thanks to everyone, I tried UltraEdit first and I like it a lot! Too bad it isn't free... So I tried ConTEXT. Very similar, but it's free! I think I'm going to like it...
Looking forward to many hours of coding, now that this headache is subsiding... Ahhhhhhhhhh
#19682 - torne - Fri Apr 23, 2004 11:21 am
I vote for vim, but I'm sure people will tell me that's a silly thing to suggest to a newbie. I just like being able to move the cursor around with h,j,k,l instead of the arrows; saves moving my hands.
#19684 - NoMis - Fri Apr 23, 2004 12:47 pm
torne wrote: |
I vote for vim, but I'm sure people will tell me that's a silly thing to suggest to a newbie. I just like being able to move the cursor around with h,j,k,l instead of the arrows; saves moving my hands. |
The vi is an excellent editor and you can be extremely fast with it if you know how it works. I was very good with it but i havn't used it for a long time.
NoMis
#19686 - MayFly - Fri Apr 23, 2004 3:03 pm
I agree with Torne.
Vi is a good editor to learn how to use, since it is available on practically every modern platform out there. If you want to easily move into the Vi world I suggest you try gVim. It's Vi improved with a gui; and the price is right.
MayFly
#19687 - poslundc - Fri Apr 23, 2004 3:06 pm
Jeez, people, it's the 21st century. Use pico already.
Dan.
#19690 - peebrain - Fri Apr 23, 2004 3:56 pm
Programmers File Editor:
http://download.com.com/3302-2352-904159.html
And ConTEXT, which was already mentioned...
~Sean
_________________
http://www.pbwhere.com
#19694 - tepples - Fri Apr 23, 2004 4:45 pm
mymateo wrote: |
I've been using Notepad to write my code [...] I can't tell what freaking line I'm on |
Are you on Notepad 98 or Notepad 2000? In Notepad 2000, hold Ctrl and press G, then key in a line number and press Enter.
Quote: |
Does SOMEone know of a text editor that shows what line you're on? |
I use Emacs for Windows. It even has syntax highlighting if you can coax the thing into "font-lock-mode".
Quote: |
Even better, one that will color-code my code? |
I used to use RHIDE until my computer stopped liking DOS programs. I ought to try the Eclipse IDE sometime.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#19706 - torne - Fri Apr 23, 2004 7:25 pm
poslundc wrote: |
Jeez, people, it's the 21st century. Use pico already. |
poslundc: vim is not vi, ya know =) vi is an antique, which vim is capable of pretending to be if you invoke it as 'vi'. vim has cscope-powered source browsing, make/gcc integration, a choice of four scripting languages (python, perl, tcl or ruby), and generally has more functionality than any other editor that's not emacs.
#19726 - poslundc - Fri Apr 23, 2004 9:49 pm
Well ooh la dee da. :)
OK, in fairness I've never actually tried vim, just vi. Maybe I'll give it a look, but I'm not too keen on those rough interfaces. (I'm not a fan of emacs either.)
Dan.
#19730 - torne - Fri Apr 23, 2004 10:35 pm
I like the vi-style interface (and loathe emacs) because I find mode-based systems very intuitive. And it's very convenient to not have to move one's hand ever (emacs' ctrl-this ctrl-that often require too much stretching, and we won't even talk about editors that use the arrow keys or mouse) because I type at over 100wpm and thus having to stop and move my hands is a bit of a major speed penalty =)
#19734 - dagamer34 - Sat Apr 24, 2004 12:15 am
Visual HAM.
_________________
Little kids and Playstation 2's don't mix. :(
#19769 - sgeos - Sun Apr 25, 2004 1:07 pm
torne wrote: |
I vote for vim, but I'm sure people will tell me that's a silly thing to suggest to a newbie. I just like being able to move the cursor around with h,j,k,l instead of the arrows; saves moving my hands. |
The version of vi on the linux machine I use color codes things. These days you can use the arrow keys in vi. I'll admit that the hjkl deal works better if your keyboard uses the standard qwerty setup.
This may not be helping, but I hated vi when I first started to use it. Almost all of my friends that have used it don't like it. I strictly use vi and notepad to write my code. I switch to vi when I need to jump to a given line. Opening cygwin and cd-ing to the proper place is annoying enough that I start writing my code in notepad.
-Brendan
#19771 - torne - Sun Apr 25, 2004 2:21 pm
You may well find that your 'vi' is in fact vim, if it does syntax highlighting..etc by default. There is a config option as to whether invoking it as 'vi' causes it to run as vim, or in vi emulation - the default is to emulate vi, but most distribution's default config contains 'set nocompatible' which stops it from crippling itself whatever it's invoked as. =)
I know they work with the arrow keys too, but I like hjkl, so stick with those. You can always remap them if you have a different keyboard layout. I use vim as an IDE, almost; it runs my compiler, it matches up error output to the line it occurs on, it does symbol-based source browsing, it highlights, it completes symbol names.. some of this by default, some with the help of obscure and poorly documented options, and some by scripting, but it all works. =)
#19772 - sgeos - Sun Apr 25, 2004 2:32 pm
torne wrote: |
I use vim as an IDE, almost; it runs my compiler, it matches up error output to the line it occurs on, it does symbol-based source browsing, it highlights, it completes symbol names.. some of this by default, some with the help of obscure and poorly documented options, and some by scripting, but it all works. =) |
Do you have the ISBN for a good book on vi/vim? Failing or in addition to that, do you have a link to an FAQ or a tutorial of sorts?
My ability to use vi is still more or less at the 'I hate this and want to learn just enough to get by' stage. It's about time I get good at using vi. I've been using it for years...
-Brendan
:wq (out of habbit, because I type my email using it =)
#19775 - telamon - Sun Apr 25, 2004 3:01 pm
Nobody mentioned EditPad Plus?
It has just bout all you could wish for (unfortunley even a prize =(. )
but there is a built in HexEditor just press ctrl+H to activate it or set it as standard for a filetype in the options.
The search function can handle regexp and ofcourse replaces to. I'm not sure but i think that the tools you can setup yourself are slightly limited from those you can make in EditPlus.
I'd give EditPad Plus 5 stars out of 5. btw. i think there is a freeware version of it called "Editpad Classic" but that one dosen't have hexediting :(
Colorscemes are downloadable from the official servers wich is a bit of a pity that you can't download and install them manually as for ConTEXT. But it's probably possible to edit the ini file manually to import unsupported coloringschemes.
_________________
http://manifested.ath.cx
#19784 - Quest-Master - Sun Apr 25, 2004 4:30 pm
I think VisualHAM is the best, and even if your not using HAMlib, just use VHAM for editing your files and then compiling them with whatever you've got (Devkit/GCC). Its also free :
_________________
The child shall never love the mother as it did to the child; now and forever.
#19785 - torne - Sun Apr 25, 2004 5:15 pm
sgeos wrote: |
Do you have the ISBN for a good book on vi/vim? Failing or in addition to that, do you have a link to an FAQ or a tutorial of sorts? |
In vim (other vi's suck, don't use them):
:help tutor
#19796 - tepples - Sun Apr 25, 2004 7:02 pm
sgeos wrote: |
do you have a link to an FAQ or a tutorial of sorts? |
I just went to Google, typed vim editor, and felt lucky: vim editor
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#19806 - torne - Sun Apr 25, 2004 10:16 pm
The internal vim tutorial is a good start - it's an 'interactive' tutorial (for some value of interactive) rather than just a document to read.
#19813 - sgeos - Mon Apr 26, 2004 12:33 am
torne wrote: |
The internal vim tutorial is a good start - it's an 'interactive' tutorial (for some value of interactive) rather than just a document to read. |
A document plus a active vim session make an interactive tutorial.
-Brendan
#19827 - torne - Mon Apr 26, 2004 9:20 am
Uhm, yes, that's what vimtutor is. =)
#19854 - SmileyDude - Mon Apr 26, 2004 10:41 pm
wow -- all of this response for vim... and here I am, thinking that I'm one of the lone GBA coders who use vim.. :)
I've definetly tried my share of editors (pico, vi, emacs, notepad, bbedit, codewarior, NEdit, jEdit, etc, etc, etc). I finally settled on vim about 3 years ago. It's cross platform (I actually started using it under Win2k), it's lightweight, it's fast, it's almost always available, it has color syntax highlighting, it runs without a GUI (great for when you have to telnet/ssh into a machine remotely), and more. Currently, I use it on WinXP machines at work, MacOS X machines at home and at work, and Linux machines at home and work. And it always just works right :) I highly recommend it.
Of course, with all of this bias in the direction of vim, I'm pretty certain that the emacs folks will jump in soon :)
_________________
dennis
#19906 - Akolade - Tue Apr 27, 2004 9:47 pm
I use Textpad.
Well, actually I use VisualHAM now, but I used to use Textpad.
I use VisualHAM, but don't use the HAM library. I just like it's easy to read header file and the editor works fine too. And Krawall is also good.
There, that's my 2 cents.
#20178 - Drevay - Mon May 03, 2004 9:01 pm
AFAIK the Eclipse IDE has poor C++ support, considering it was made for Java.
I use the MinGW Developer Studio IDE, it's free, and less buggy than Dev C++. I don't have a link right now, but it's the first URL that pops up in google when you search for it.
Also I'm looking into DragonBASIC at the moment, it seems nice, and the IDE is simple but nice.
#20182 - torne - Tue May 04, 2004 12:14 am
Eclipse's C++ support is far behind its Java support, yes, because of the huge difficulties involved in trying to have an editor that understands the semantic content of C/C++ code (the preprocessor screws you over, as do lots of other fun C features). This doesn't mean it's *bad*, though - it's about equivalent to most other C/C++ IDEs at present. I've not found any significant things that, say, Visual Studio can do that Eclipse can't.
Eclipse's editors are supposed to understand the semantic content of the code you are editing. That's what makes it so powerful - it gives you code completion that actually works 100% perfectly, and allows refactoring and very clever browsing. It also allows you to identify most compile errors while you are still editing. No other IDE that I've used can do this. The C/C++ editor in Eclipse also can't really do this yet. It does support debugging via a GDB stub well, which makes it much more useful than most other IDEs (which can typically only debug native code).
#20191 - NoMis - Tue May 04, 2004 8:51 am
The C/C++ Plugin is still in development in parallel with the Eclipse 3.0 Platform. The Code completion is now working very well in the new M8 Version but has still some problems. Other featuers are coming up too. But if the C/C++ IDE gets half as good as the Java IDE of Eclipse it already would be one of the best IDE's.
NoMis
#20208 - mr_schmoe - Tue May 04, 2004 8:53 pm
I like Visual C++, although I can't seem to get it working at the moment. But, that's a different discussion. The reason I like it is because if you got some function out in BFE buried deep in your source code somewhere and you can't remeber exactly which parameters do what, you just start typing the function and VC++ pops up with a little reminder. If there is another IDE that does the samething, I'll gladly switch over there, concidering again, I can't seem to get VC++ working.
#20210 - torne - Tue May 04, 2004 9:10 pm
Eclipse does that and more.
#20313 - Johnny Watson - Thu May 06, 2004 10:47 pm
Ever try SciTE? I Enjoyed it a bit, and the price is right (free). If you can snag a copy of Visual Studio or Visual C++, I highly recommend that you go for it. It's far and away the best IDE I've used on Windows.
#20320 - CyberSlag5k - Fri May 07, 2004 12:21 am
I use visual studio.net. It's not cheap, though. I get it for free as a student. Netbeans is a decent IDE (comes in second only to MVS in my book), although I've never tried it with anything non-java.
Good Luck!
_________________
When you find yourself in the company of a halfling and an ill-tempered Dragon, remember, you do not have to outrun the Dragon...
#20388 - Ayrik - Mon May 10, 2004 4:21 am
Bloodshed Dev C++ is definately the best because you can set up a simple project that has all your documents in it and you can just remove the interface...
#20404 - col - Mon May 10, 2004 3:08 pm
Ayrik wrote: |
Bloodshed Dev C++ is definately the best because you can set up a simple project that has all your documents in it and you can just remove the interface... |
I have tried DevC++ a couple of times, but each time I have given up because I found the build process too restrictive.
I want more control over the makefile!
Is there any way to modify the build other than just defining the all_before and all_after targets?
how do you factor in arm/thumb interworking into the build?
how do you do the same for asm files?
Even just overriding the auto makefile system with a custom makefile would be a useable solution, but I havn't found a way to do that either...
If you can solve these issues for me I might just switch to DevC++ ;)
If these things are not possible without clunky work-arounds then, IMO DevC++ isn't ready for gba development yet.
cheers
Col
#20411 - peebrain - Mon May 10, 2004 6:11 pm
A nice VC++6.0 add-on thingy I use is Visual Assist...
http://www.wholetomato.com/
*shrugs* I use that for my Windows code. As I said earlier, I use other editors when I use a different compiler.
~Sean
_________________
http://www.pbwhere.com
#20445 - twink - Tue May 11, 2004 2:49 pm
Vim, do all my coding in it, couldn't live without it.
#20876 - keldon - Tue May 18, 2004 11:13 pm
here is the ULTIMATE answer to your problems
http://www.editplus.com
tada !!
#20885 - KRoot - Wed May 19, 2004 3:19 am
I used to use a program called Crimson Editor, from http://www.crimsoneditor.com/, which is alot like ultra edit, but for free. Then i shelled out 30 dollars and bought UltraEdit, which has more utilities that i use.