OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Peacepunk on 13 Jun 2006, 06:12:42

Title: Best Editor for config.cpp files
Post by: Peacepunk on 13 Jun 2006, 06:12:42
Hi Community

I'm back to OFP after a while - and a complete lost of about 2GB of hard OFP Editing work due to HDD crash.

I used to edit config files with a Windows software (I mean, something that is included originally with Windows) that would give you color-coded reading/editing of cpp files, provided you assigned this soft to be the default tool for CPP stuff. For some reason, I found that quite useful. And I forgot the name of this piece of software.

Unfortunately, tools such as Chofpse or COC BinEditor doesn't feature that. I was Win 98/Me at the time, now XP.

Anyone to recommand this kind of Programming-Oriented Editor ? Is it still available under XP ?

Cheers.
Title: Re: Best Editor for config.cpp files
Post by: Gnat on 15 Jun 2006, 15:04:08
You probably mean Chris's (great) OFP Editor.

http://www.chenderman.com/CHOFPSE.htm

Its what I use :)
Title: Re: Best Editor for config.cpp files
Post by: Peacepunk on 15 Jun 2006, 15:37:19
Well, yes & no:

Quote
Unfortunately, tools such as Chofpse or COC BinEditor doesn't feature that.

Chofpse (especially the older one) is one of the greatest tool available to the OFP Editing Community. But, while Scripts features color-coded reading, it is not the case for .cpp files, so Chofpse is not the answer to my question.

The viewer/editor I am looking for must have something to do with "hardcore" programming, C+ like.

Thanks.

Peacepunk
Title: Re: Best Editor for config.cpp files
Post by: h- on 15 Jun 2006, 22:03:26
There's a tool called TextPad (http://www.textpad.com/) which does some colorization on .cpp files (among others)..
Title: Re: Best Editor for config.cpp files
Post by: Jahve on 18 Jun 2006, 10:16:07
I would suggest "notepad2" it shows you if you havent closed values with " ", aswell as the fact it can help you find missing { or };'s
Title: Re: Best Editor for config.cpp files
Post by: Peacepunk on 18 Jun 2006, 14:17:44
Thanks guys - I'll give 'em a try.

Anyone with knowledge of Linux, I'm looking for something Kate or Kwrite -like.

Peacepunk
Title: Re: Best Editor for config.cpp files
Post by: Mr.Peanut on 26 Jul 2006, 03:33:12
Try SCiTE (http://www.scintilla.org/SciTE.html), one the best generic source editors around.
Title: Re: Best Editor for config.cpp files
Post by: SniperAndy on 26 Jul 2006, 18:24:55
Notepad ++ (http://notepad-plus.sourceforge.net/uk/site.htm) rules imho.
With a little editing you can even replace your default win editor with this.

Quote
Notepad++ is a free source code editor (and Notepad replacement), which supports several programming languages, running under the MS Windows environment.

This project, based on the Scintilla edit component (a very powerful editor component), written in C++ with pure win32 api and STL (that ensures the higher execution speed and smaller size of the program), is under the GPL Licence.

I use this for Webdesign, VBS, and all sorts of other editing.
Title: Re: Best Editor for config.cpp files
Post by: h- on 26 Jul 2006, 21:39:36
Well, I myself use Visual Studio, just because .cpp/.hpp/etc. files are opened in it by default and haven't been arsed to change that  :P