Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / What IDE / editor do you prefer for coding in DBC?

Author
Message
steve paul thomas
15
Years of Service
User Offline
Joined: 4th Nov 2008
Location: United Kingdom
Posted: 4th Nov 2008 19:44
Hello My name is Steve and I joined the forum today.

I have been coding in DBC for a few months now and have tried out Dark Edit. I like the line numbering and the syntax highlighting.

I'm interested in what others prefer to use. Would like to try other editors out. Thanks
Latch
17
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 4th Nov 2008 22:51
check out

IDE Thread 1

and

IDE thread 2

To sum it up, my preference for small projects is DarkEDIT. For large projects Source Edit.

Enjoy your day.
steve paul thomas
15
Years of Service
User Offline
Joined: 4th Nov 2008
Location: United Kingdom
Posted: 4th Nov 2008 23:12
Thanks for your reply Latch. I'll check those out.

By the way, impressive code that you submitted on The DB Classic Challenge Thread.
Latch
17
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 6th Nov 2008 19:58
Thanks!

Enjoy your day.
Anto
18
Years of Service
User Offline
Joined: 30th Oct 2005
Location: Brisbane, AUS
Posted: 7th Nov 2008 08:09
How did you get darkbasic to run on source edit? Or you type code on there then test the program in different editor?
Latch
17
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 7th Nov 2008 09:18
You can define the language in Source Edit so the syntax is highlighted. You can also create user tools to launch your code or test the compiling.

Under Tools > Tools Configuration , you can use the command line option to run the current file you are working on (assuming you've saved the file first or made some kind of backup that can be run). There's even a checkbox to save the file automatically before running the tool. The command line would look something like:

DB.exe -x $(FileFolder)filename

In the DarkBASIC installation help, there is a document called compiler.html that explains how to run the compiler commands from a command line or other IDE (like compile, run, build, build final)

To get the syntax errors or compilation status, a document is created in your work folder called DBCompile.log

Source Edit has these great add in tools from the Add-In Editor where you can effectively program source edit to combine commands, message boxes, formats, create documents, etc. so with a single click on a button, you can run your program and get a message box of errors or have them appear in the output box. You could even create a preprocessor of your own commands if you want.

The fancy stuff isn't easy to do, but getting source edit to run your code in DarkBASIC is. It takes a little effort to set up Source Edit or Crimson Editor, but I found it was worth it in the end. Here's a couple screenies attached:

Enjoy your day.

Attachments

Login to view attachments
Quirkyjim
15
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 15th Nov 2008 15:08
I think I'd prefer Dark Edit, but it won't compile correctly.

~QJ
Ashingda 27
16
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 15th Nov 2008 23:22
Ok, BTW how the heck could I also get Dark Edit?
zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 16th Nov 2008 00:07
Quote: "Ok, BTW how the heck could I also get Dark Edit? "


download darkedit link

"When I look at that square... I wish FPSC noobs would stay on their side of the forums and stop polluting these boards." - Benjamin
Phaelax
DBPro Master
21
Years of Service
Recently Online
Joined: 16th Apr 2003
Location: Metropia
Posted: 16th Nov 2008 00:45
Wasn't dark edit included on the CD?


Ashingda 27
16
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 16th Nov 2008 00:56
What CD? Well I bought mines online and downloaded the files. Thanks for link zenassem got it to run now .
Phaelax
DBPro Master
21
Years of Service
Recently Online
Joined: 16th Apr 2003
Location: Metropia
Posted: 16th Nov 2008 03:08
The dark basic CD I bought from darkbasic.com in 1999


steve paul thomas
15
Years of Service
User Offline
Joined: 4th Nov 2008
Location: United Kingdom
Posted: 16th Nov 2008 16:08
@Phaelax

Quote: "The dark basic CD I bought from darkbasic.com in 1999"


Did it look a bit like this one? (This is the 2000 CD, shrunk and compressed)



Text at the top says "Join the fun at www.darkbasic.com for new add-ons, coding support forum and free games!"
Phaelax
DBPro Master
21
Years of Service
Recently Online
Joined: 16th Apr 2003
Location: Metropia
Posted: 16th Nov 2008 16:58
I think so. Maybe I got it in 2000. Came with a big thick manual. I remember I did buy Pro from RGT when character studio was part of a free deal that I never got.


steve paul thomas
15
Years of Service
User Offline
Joined: 4th Nov 2008
Location: United Kingdom
Posted: 16th Nov 2008 17:10
Quote: "Came with a big thick manual"


They must have started doing printed manuals when business picked up. I got a CD only. I struggled a bit with it back then and after getting totally lost, I shelved it. Its only this year (now that I have done programming in other languages) did I decide to give it another go. I must say, its now my favourite

Login to post a reply

Server time is: 2024-05-20 13:19:34
Your offset time is: 2024-05-20 13:19:34