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.

Program Announcements / Indigo - A DBPro IDE Alternative

Author
Message
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 11th Oct 2012 01:51
paul5147,

Thank you for feedback. I'm glad to hear that you've enjoyed BlueIDE 2 as well.

I need to come up with a better way to determine highlighting for long command names and some of the other add-on commands like the one you've pointed out. I don't have DarkPhysics to test with. But I might TGC if it's OK to get a copy of the DarkPhysics keyword ini file, when I get time to focus on that part.

All the best,

MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 11th Oct 2012 02:12
oh just that it always gets mentioned here and there but at that time [about 18 months ago] I did not know how to search or frankly did not get into the habit of doing so... [it takes time lol] so people mentioning things and not linking to them slightly makes new users weary to try new stuff out unless there is a direct connection of sorts...
hope to use this soon, but seeing as DarkPhysics is not fully supported... I shall wait til it is fully supported [I use it heavily and intend to do so ever more... Dark Dynamix included as soon as I buy it...]

Thank you and thanks for the warm welcome and your fantastic contributuion to DBP! why you do not have a valued member status is beyond me... albeit a DBP tool maker badge maybe... [walks over to the badge recomendations thread...]

Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 11th Oct 2012 04:45 Edited at: 11th Oct 2012 04:49
MrValentine,
Quote: "but seeing as DarkPhysics is not fully supported"
The only thing that's not fully supported is the syntax highlighting. Part of the 'not 100%'. Please don't confuse IDE with Compiler. All Indigo is, is a front end. It makes the visual part of coding more enjoyable and hopefully helps your code be more organized and easy to read. All of the magic of putting your program into an EXE is still done by the dbpro compiler from TGC. So all of their modules are "supported". Now, at sometimes, their keyword ini files are wrong and at other times the help documentation is not correct or missing. With that, all Indigo does is try to show you what it is told from those files. As Paul pointed out, everything compiles fine. It's the visual highlighting that is not 100%.

So you may want to re-think waiting until DarkPhysics is "fully supported". It could be a very long time .

Quote: "why you do not have a valued member status is beyond me... albeit a DBP tool maker badge maybe"
Thank you, that would be nice. I never took the time to figure out how those were handed out. And I'm not much of one to go ask for one (even if I felt I deserved one). It's much sweeter when one's peer's points out that it should be so.
Quote: " [walks over to the badge recomendations thread...]"
I am honored, flattered, and humbled. Thank you.

All the best,

MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 11th Oct 2012 04:49
Yeah I emailed Bax earlier... Something like this deserves due merits...

I will just have a play with Indigo while doing my guides... and hopefully click into it [PUN intended lol]

baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 11th Oct 2012 11:01 Edited at: 11th Oct 2012 11:03
I agree with MrV, you deserve credit for this excellent IDE. I have awarded you the DBPro Tool Maker badge. Congratulations!

EDIT: Let me know if / when you want the Dark Physics ini file too.


this.mess = abs(sin(times#))
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 11th Oct 2012 11:31
gRATZ!

MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 11th Oct 2012 12:15
Woo look at that shiny badge Congrats... You deserved it!

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 11th Oct 2012 13:59 Edited at: 11th Oct 2012 14:06
Balid, what is your view on the concept of supporting user defined plugins/scripts/macros?

Obviously you may not feel like implementing such a feature, and I have not really put much thought into it, I am just throwing something on the table here.

It would be cool to be adapt the personal workflow and add functions enhance certain processes, and if you felt like, allow users to expand the functionality of the IDE.

A number of things I would have used such a feature for is to insert a special comment in all functions, execute a program prior to compiling and another prior to launching. I would use it to create something to insert snippets on certain key strokes and create search and replace in files (I currently use Notepad++ to do it on behalf of indigo; but this could also be added to the search and replace window).

Another feature request which is more urgent for me (and I will try to give more donations in the near future) is a back and forwards button (or CTRL+ALT Left / Right ) Basically, store the caret position and current document in an array when it changes; go the previous or next document and caret position when this feature is activated.


It is a cracking thing to have because this process is done many times on a manually basis.

Again, such features could be contributed through user submitted scripts/macros/plugins.

(Other shortcuts: CTRL+ALT Down / Up could advance to the next/previous function or label, Ctrl + [ or ] to advance to the parenthesis. Ctrl+Alt < or >, previous or next reference to the highlighted definition)

Just a thought.

Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 12th Oct 2012 05:18
First off - Thank you to MrValentine for the nomination. I must say, it was a pleasant surprise when I logged in to see that pretty badge sitting there.

baxslash,
Thank you for the wonderful job that you've done for the TGC community with the promotion of the badges. And yes, a copy of the Dark Physics ini file would be great. If you send to the email address in my profile that would be great.

Chris Tate,
Quote: "gRATZ"
Thank you.
Quote: "what is your view on the concept of supporting user defined plugins/scripts/macros? "
I've thought about it. But it would be a fairly large endevor with the way that Indigo is structured right now. And it's not high on my list. Though it does get dusted off because someone else in the community thinks it would a good addition.
Quote: "Another feature request which is more urgent for me (and I will try to give more donations in the near future) is a back and forwards button (or CTRL+ALT Left / Right ) Basically, store the caret position and current document in an array when it changes; go the previous or next document and caret position when this feature is activated."
Are you referring to moving back and forth between Tabs or open source files? If so, that is already possible. Though I do need to fix it so it goes in the right direction. I believe it's [Ctrl + Tab] and [Ctrl + Shift + Tab].
Quote: "Other shortcuts: CTRL+ALT Down / Up could advance to the next/previous function or label, Ctrl + [ or ] to advance to the parenthesis. Ctrl+Alt < or >, previous or next reference to the highlighted definition"
Good idea's.

All the best,

Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 12th Oct 2012 19:17 Edited at: 12th Oct 2012 19:18
I have a very strange error!

You can see from the screenshot of the compile window that there is a parser error on line 23 and the PROGRAM TRACE tells you what line 23 has on it. Which does indeed show an error (there shouldn't be any parenthesis).

However, I have fixed that error and the file has been saved, closed and recompiled since then. For some reason, the old file seems to be being read instead of how it is now.

Any ideas?

Attachments

Login to view attachments
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 12th Oct 2012 22:57
Quote: "it would be a fairly large endevor with the way that Indigo is structured right now"


Nevermind, it is still the best IDE for DBPRO.

Quote: "Are you referring to moving back and forth between Tabs or open source files?"


No. I already use the control tab feature quite often; but this is to do with caret position history. In Visual Studio, to do that

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 12th Oct 2012 23:18
Quote: "it would be a fairly large endevor with the way that Indigo is structured right now"


Nevermind, it is still the best IDE for DBPRO.

Quote: "Are you referring to moving back and forth between Tabs or open source files?"


No. This is moving to the previous or next text cursor position selected in the current document, and the last (or next) document the cursor was in. In Visual Studio, the CTRL Minus or CTRL shift minus shortcuts do it. For example, if you need to scroll to the middle of a long page to copy something and then scroll back, you could do so by pressing the back button to return to the exact previous location instantly; if the last position was in another document, VS will focus that document and put the text cursor in place; no need take hands off of keyboard.

Hope I am making sense

Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 13th Oct 2012 03:35
Scraggle,

Is that image of the first source file of the project?
Are you using multiple instances of Indigo?
Which DBPro version?
Could you provide the Log file?

I find it interesting that the line indicated is 23 but 27 would be the line with the error. I've never seen the numbers off like on the first file. Could you send me that one source file, if it is the first in your project?

Chris Tate,
Quote: "Nevermind, it is still the best IDE for DBPRO."
The idea does interest me. And I could see implementing parts over time.
Quote: "In Visual Studio, the CTRL Minus or CTRL shift minus shortcuts do it."
Never used that. But I can see how that can be handy. I'll add it to the next release of Indigo. Probably [Alt + arrow key] to move between Functions/Labels quickly.

All the best,

Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 13th Oct 2012 12:04 Edited at: 13th Oct 2012 12:08
Quote: "Is that image of the first source file of the project"
Yes, it is.

Quote: "Are you using multiple instances of Indigo?"

No, there's only one.

Quote: "Which DBPro version?"

1.0761

Quote: "Could you provide the Log file?"

You'll have to remind me - where is it saved?

Quote: "I find it interesting that the line indicated is 23 but 27 would be the line with the error"

At the time that the line was written in the way it shows in the error message, that line was on line 23. I've since then fixed it and added more lines which moved it to line 27. However, since fixing it, I have compiled, saved, closed, rebooted, re-opened Indigo, re-opened the project and re-compiled but it still seems to be reporting the error from how the file used to be ... it's very odd!

Quote: "Could you send me that one source file, if it is the first in your project?"

It's attached to this post.

Attachments

Login to view attachments
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 13th Oct 2012 19:16
Quote: "But I can see how that can be handy. I'll add it to the next release of Indigo."


That's great!!

Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 15th Oct 2012 00:16
Scraggle,

I added a shortcut to the file in the options dialog. It's the button with '>' on it. It take you to the folder. just a heads up, I'll need the log1.txt not the log.txt.

All the best,

Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 15th Oct 2012 17:23
I've attached log1.txt to this post.

It was constantly being written to - Is that normal? It was getting bigger by around 1Kb per second until I closed Indigo.

Attachments

Login to view attachments
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 16th Oct 2012 01:04 Edited at: 16th Oct 2012 04:21
Scraggle,

Thank you. I'll read through it later tonight.

Quote: "It was constantly being written to - Is that normal?"
As long as the Logging option is on, it is writing to the file. I suggest turning off Logging unless it is for debugging. There is a performance hit by having it on.

[edit] I didn't see anything out of the ordinary in the log file. Though I did identify some area's of improvement.

I'll have to do some ore poking around on my end to hopefully come up with the right question(s) to ask that leads to what is going on. I will contact you directly, rather than fill out the thread. [\edit]

All the best,

Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 16th Oct 2012 21:01
Whilst you're debugging, here's some more info:
If I open Indigo and start a brand new project, I still get the same error report, showing the same problem on the same line.
WLGfx
16
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 16th Oct 2012 23:53
I've been using the IDE for some time now and most of the small issues are easy enough to get around, but the one thing that does bug me is setting a smaller font. The smaller font still shows the same amount of lines of code in the window. I've tried with both courier and lucida console...

Apart from that, the features within the IDE are just perfect...

Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 17th Oct 2012 01:46
Scraggle,

I'm thinking that the old error log isn't being cleaned up or that it's in a different location now for some reason. I've seen it move around and had to put in code to track it down. I'll have to shoot you an email when I get home as to some locations to look to for the old error logs.

WLGfx,

Thank you for the feedback. The smallest line will be based on the largest font used. One font that stands out to me is 'Matching Brackets'. By default it was 12 points and 'Default' was 10 points.

So please check through each font to make sure it is the same size. And left me know if you're still having the same issue.

All the best,
Craig

Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 30th Oct 2012 02:08 Edited at: 30th Oct 2012 02:21
v1.3.3 beta 1 has been uploaded.

Change log:

+ Virtual Folders - Clean up your long list of includes by putting them into Virtual Folders. Expand only the folder that you want open.
+ Misc - Added [Alt + Up (or Down) Arrow] to move between Next/Previous Functions/Labels.
+ Close Project - Added an option to close current project and leave the IDE open.
> Function Tip - Corrected defect that prevented the Function Tip from showing or closing prematurely.
> Line Overview - Improved overall size to better adjust when all collapsed lines are visible.

Note of caution: v1.3.3 has an Include Order option (Virtual Folders) that is not available in previous versions. Closing v1.3.3 with it selected will cause an error with previous versions. So be sure, if you want to switch back to a previous version, you close v1.3.3 with either 'Alphabetic' or 'Include Order' selected.

The 'Virtual Folders' feature is currently unlocked for testing purposes and will only be available to those that have donated (have activated versions).


To use Virtual Folders, select it as the Include Order. At first, all of your includes will show in "*None". To create a new virtual folder, right click in the list window, select 'New Folder', type new folder name, press Enter. Now drag and drop the files that you want in that folder.

On a side note, anyone else interested in Indigo sporting a ribbon (like Microsoft Office)?

All the best,

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 30th Oct 2012 02:28
Quote: "+ Virtual Folders - Clean up your long list of includes by putting them into Virtual Folders. Expand only the folder that you want open.
+ Misc - Added [Alt + Up (or Down) Arrow] to move between Next/Previous Functions/Labels.
+ Close Project - Added an option to close current project and leave the IDE open.
> Function Tip - Corrected defect that prevented the Function Tip from showing or closing prematurely.
> Line Overview - Improved overall size to better adjust when all collapsed lines are visible."


Great!!

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 30th Oct 2012 12:33 Edited at: 31st Oct 2012 11:56
Balid! This latest release is slick! This is so awesome, virtual folders, zomg. Could we get a right click & rename feature on them? ^____^

ALSO, I notice that the vertical scroll line is kinda competing with the graphical vertical bar next to it. Will these eventually be combined so that the vertical scroll isn't wasting screen space?

EDIT; Also noticed that UDT in UDT doesn't seem to look right, I get an odd colour thing happening;



Well done on the badge mate!
-BFM

EDIT ALSO: Could you have under the "Help --> About";

"Indigo is loved very muchly by the following indie devs"

and then have a list of all the users who've donated twice.

EDIT AGAIN ZOMG: When I "Alt Select" text down a vertical selection, when I try to paste in replacement text, it only replaces the first line, but no other remaining lines.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 1st Nov 2012 14:36
Quote: "Thank you for downloading Indigo v1.3.2."


Just a note.

The 1.3.3 link on the website link sends you version 1.3.2; hence the new features are not included. (http://indigo.mapmasterz.com/download_132.html)

I had to manually visit: http://indigo.mapmasterz.com/download_133.html

which still says 'Thank you for downloading Indigo v1.3.3'

Nice logo by the way; it looks more modern than the older one; and obviously represents the shape of a capital I made out of brackets.

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 3rd Nov 2012 18:22
Just started using this after struggling with the default IDE (Synergy), and so far it's working great. Thanks!

You're signature has been erased by a mod
The Weeping Corpse
12
Years of Service
User Offline
Joined: 19th Sep 2011
Location: United Kingdom
Posted: 3rd Nov 2012 23:28 Edited at: 3rd Nov 2012 23:34
Just tried Indigo as the Synergy editor has a bug with #INCLUDE files not auto-saving before compilation (so the compiler still uses the old versions), thus making my project structure unworkable.

Your Indigo editor works like a charm. Happy days.

Expect an incoming donation.

Why isn't this shipped with DB Pro as default???????????

Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 4th Nov 2012 08:03 Edited at: 4th Nov 2012 08:04
Quote: "Why isn't this shipped with DB Pro as default???????????"

i belive its not official IDE yet.
and 2nd of all, i belive this IDE not gonna be free..

Advanced Updater for your games!
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 4th Nov 2012 17:53
Burning Feet Man,
Quote: "This latest release is slick! This is so awesome, virtual folders, zomg."
Good to hear, because that was the idea .
Quote: "Could we get a right click & rename feature on them? ^____^
"
Added to list. Expect it as part of the 1.3.3 final release.
Quote: "EDIT; Also noticed that UDT in UDT doesn't seem to look right, I get an odd colour thing happening;
"
Does that example compile for you? I didn't think that UDT past 2 deep didn't work (at least they haven't for me).
Quote: "Well done on the badge mate! "
Thank you.
Quote: "When I "Alt Select" text down a vertical selection, when I try to paste in replacement text, it only replaces the first line, but no other remaining lines."
Can you send me example? It works as expected in my tests.

Chris Tate,
Quote: "The 1.3.3 link on the website link sends you version 1.3.2"
Corrected, thank you.
Quote: "Nice logo by the way; it looks more modern than the older one;"
Thank you. I try to make improvements in many areas.

Benjamin,
Quote: "Just started using this after struggling with the default IDE (Synergy), and so far it's working great. Thanks!
"
Welcome a board. Good to have you.

The Weeping Corpse,
Quote: "Your Indigo editor works like a charm. Happy days."
Thank you for the feedback. Glad to have you as part of the Indigo user community.
Quote: "Expect an incoming donation. "
That would be greatly appreciated. Thank you.
Quote: "Why isn't this shipped with DB Pro as default???????????"
Good question .

Sergey K,
Quote: "i belive its not official IDE yet."
I like the 'yet' part .
Quote: "i belive this IDE not gonna be free."
True, at some point Indigo will move away from donation ware. I don't work for TGC and my time is very valuable to me and those around me. But if TGC wanted Indigo as their IDE, I'm sure that we'd be able to come to an acceptable agreement.

All the best,

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 4th Nov 2012 23:24 Edited at: 5th Nov 2012 02:09
The latest update is working very well so far. Thanks once again for all the hard work.

But as always there are a few glitches creeping up out of the woodwork.

1. Auto-complete is auto-completing text in strings. It should ignore text between speech marks.

2. Auto-complete will not work correctly with auto-complete loops. When starting a branch statement, such as IF, I'd type in IF Object Position... and try to auto-complete it. You end up with the caret on the next line with half the endif statement attached to half the object position statement; like so:



3. Function tips disappear when you click; ie: to advance to a previous parameter. It only displays as you type in the parameters. Fine the first time, but not when you amend. You have to delete the first parameter and type it in again to see the tip. It would be more useful if it triggered the function tip of the parameter the caret is on at all times, until you move out of the parentheses.

It is all well and good to see what parameters a function needs on the status bar, and when you hover over the function text, but far better to see which parameter you are focused on.

If it is not too difficult to implement, the function tip of the parameter under the mouse cursor.

Some of the functions in my code and some of the plugins have many parameters, most of my compile errors are coming from this issue.

4. Alt Up/Down works like a charm. But it will not work from the first label. Pressing alt down does nothing. This is not the case with the first function.

Edit: 5. You probably know this. When you try to select a function from the combo box on the toolbar; this causes a crash if the current file is not part of the project. Perhaps the feature should be disabled for this kind of file, or it should parse the function names in a seperate domain from the project. If you need the log, let me know.

Finally, less important, feature requests. The virtual folders is a good idea, I started to use it on my 100+ include file project, thing is, the list is so long I cannot drag and drop the files into a folder down the list. There is no auto-scroll. Perhaps auto-scroll could be implemented, or a right click Move To context menu item would be cool. (Multiselect wouldn't be a bad idea either)

Anothing thing, an option for spacebar to complete autocomplete, instead of return button, which is pretty much industry standard.

Again thanks for all the effort.

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 6th Nov 2012 06:06 Edited at: 7th Nov 2012 11:04
Hi Balid,

DarkBasic Pro supports multiple level User Defined Types, there's even a couple of news letter articles about them from TGC. You might be getting your wires crossed, in that DBPro doesn't support array() structures within a UDT.

So this works;
Mouse(0).Cursor.Pos.X = MouseX()

But this doesn't work;
Mouse(0).Cursor.Pos(1).X = MouseX()

Although I wish it shucnt'ing did!

eh-hem. So yes, here's one I made earlier for you to test with, it's my mouse initialization subroutine which builds the UDTs for my projects to use;



EDIT: Regarding virtual folders, today I found a bug with my code that was triggered by the include order of .DBA files in my project. Although the calling of my subroutines was correct in my master.DBA file, I hit a problem where the include order of .DBA files was critical for my code to execute.

In saying that, can we still have an include order number visible whilst viewing the virtual folder structure?
IE:

Input --
Mouse.DBA(1)
Keyboard.DBA(2)
XboxController.DBA(4)
Core --
TimerBasedMovement.DBA(3)

EDIT: It would be nice if the editor was night time compatible, where all things skinable could be toned down to dark colours.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 11th Nov 2012 21:30 Edited at: 11th Nov 2012 21:32
I'm getting an exception on start-up.



Whenever I double-click my .dbpro file, or if I just start Indigo, I get that exception.

Also, none of the panels work anymore.

TheComet

- The codebase
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 12th Nov 2012 02:28
Chris Tate,
Quote: "1. Auto-complete is auto-completing text in strings. It should ignore text between speech marks."
I made an adjustment to prevent auto-complete from automatically activating if it's between quotes. But you can still force it with ctrl+space.

Quote: "2. Auto-complete will not work correctly with auto-complete loops. When starting a branch statement, such as IF, I'd type in IF Object Position... and try to auto-complete it. You end up with the caret on the next line with half the endif statement attached to half the object position statement; like so: "
If you are using the enter key, there is an option that you need to turn on. It's under Text Editor, "Auto Complete on Enter". Otherwise you get what you seem to be describing.

Quote: "3. Function tips disappear when you click; ie: to advance to a previous parameter. "
Added to list of improvements.

Quote: "If it is not too difficult to implement, the function tip of the parameter under the mouse cursor."
Also added to list.

Quote: "4. Alt Up/Down works like a charm. But it will not work from the first label. Pressing alt down does nothing. This is not the case with the first function."
Corrected, thank you.

Quote: "5. You probably know this. When you try to select a function from the combo box on the toolbar; this causes a crash if the current file is not part of the project."
Looking into it.

Quote: "The virtual folders is a good idea, I started to use it on my 100+ include file project, thing is, ... or a right click Move To context menu item would be cool."
Move To context menu item has been added.

Quote: "(Multiselect wouldn't be a bad idea either)"
Added to list.

Quote: "Anothing thing, an option for spacebar to complete autocomplete, instead of return button, which is pretty much industry standard."
I strongly doubt that I'll put that in as spaces are valid parts of some functions.


BFM,
Quote: "DarkBasic Pro supports multiple level User Defined Types, there's even a couple of news letter articles about them from TGC. You might be getting your wires crossed, in that DBPro doesn't support array() structures within a UDT."
Very good. And thank you for the example.

Quote: "can we still have an include order number visible whilst viewing the virtual folder structure?"
Good idea. Added to list.

Quote: "It would be nice if the editor was night time compatible, where all things skinable could be toned down to dark colours."
Let me think about it. Though, I think that some planned changes for v1.4.0 might address this.


The Comet,
Quote: "I'm getting an exception on start-up."
Go back into v1.3.3 beta 1 and make sure that you don't have 'Virtual Folders' selected when you close it out again. I put a warning about that exact situation above. Which you probably missed we've email off and on on the side. And I didn't realize that it was occurring until after our last contact.


All the best,

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 12th Nov 2012 10:40
Quote: "If you are using the enter key, there is an option that you need to turn on. It's under Text Editor, "Auto Complete on Enter". Otherwise you get what you seem to be describing."


OK
Quote: "
Quote: "The virtual folders is a good idea, I started to use it on my 100+ include file project, thing is, ... or a right click Move To context menu item would be cool."
Move To context menu item has been added."


Nice one!

Quote: "Quote: "Anothing thing, an option for spacebar to complete autocomplete, instead of return button, which is pretty much industry standard."
I strongly doubt that I'll put that in as spaces are valid parts of some functions."


True, I did not think about that.

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 14th Nov 2012 23:12
One more bug i'd like to report.

If you load Indigo, write some code, save the dba file; then save the project as something; the project main file remains untitled.

When you change the main file, it throws an error that the file cannot be found. Indigo is trying to load a file using its name without the first character 'M_Points.dba' instead of 'bM_Points.dba'

Previously, it actually wrote invalid main file to the dbpro file; but I could not reproduce it this time.

It wrote this out, when I saved the project; it did not contain the saved bM_Points.dba. Note also the screenshot to confirm:



Hope everything is cool. Later.

Attachments

Login to view attachments
Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 15th Nov 2012 10:25
Hi Balid,

I'm having problems associating .DBA & .DBPRO files with Indigo. I can associate the file extensions with NotePad++ and other applications, but not Indigo.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 15th Nov 2012 10:43
Burning Feet Man which OS are you on?

Did you not try right click and open with?

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 15th Nov 2012 10:56
I'm on Windows 7. I just fixed the problem after searching for "Indigo" in my registery, and I found a couple of entries which pointed to;

C:\Program Files (x86)\Indigo x.x.x Beta\Indigo.exe

which no longer existed. So I simply updated all the entries to the current location of the Indigo exe;

C:\Program Files (x86)\Indigo Beta\Indigo.exe

And now the files open upon double click.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 15th Nov 2012 11:31
Nice!

Well done and thumbs up for sharing

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 17th Nov 2012 15:00 Edited at: 17th Nov 2012 15:06
Just a small new finding. Declaring a global as a type, without typing in 'as' will cause syntax highlight X as the type B. And autocomplete will work with it.



Also, keywords are valid names for a fields in a type (except EndType; not sure of any others). The following will highlight the words as a keyword in the type, and will show an error line on each declaration that is also a keyword.




I hope that helps. If more info is needed, let me know.

TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 18th Nov 2012 17:29
Virtual folders are great, they really make managing the project easier.

TheComet

- The codebase
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 23rd Nov 2012 03:52
Chris Tate,
Quote: "If you load Indigo, write some code, save the dba file; then save the project as something; the project main file remains untitled."
That's a new one. I'm not able to duplicate what you describe.


BFM,
Quote: "I'm having problems associating .DBA & .DBPRO files with Indigo."
Are you using the Option in Indigo to do this or the right click method?


Chris Tate (again),
Quote: "Just a small new finding. Declaring a global as a type,..."
I made some adjustments to the syntax checking to capture this as an error.

Quote: "Also, keywords are valid names for a fields in a type..."
Yes, a known issue. And one that may not get resolved before v1.4.0.


TheComet,

Quote: "Virtual folders are great, they really make managing the project easier."
And I've made a few adjustments to make them even more user friendly.


All,

I have posted v1.3.3 beta 2.

Change log:
+ Added 'Rename' and 'Move To' to Virtual Folders.
+ Made improvements to better handle Labels with no returns.
> A few other defect fixes with the new [Alt + Up / Down] feature and other small tweaks.

Indigo Site

All the best,

Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 25th Nov 2012 23:39 Edited at: 25th Nov 2012 23:39
v1.3.3 beta 3 has been uploaded.

Fixed AutoComplete defect introduced in v1.3.3 b2 as well as improved AutoComplete to recognize embedded UDT's.

Indigo site

Unless I broke something in the making of v1.3.3, I will be off to work on v1.4.0. I'm in the middle of adding a control to bring a new dimension to Indigo.

All the best,

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 27th Nov 2012 16:13 Edited at: 27th Nov 2012 16:15
Nice work with the updates. Looking forward to using the features.

Just letting you know, I have managed to reproduce an error I have been trying to catch. It happens when you open a project, save the project as something else, then save the main source file as something else, then click the ... change source file button; the main source is missing a letter:



Main should = TestCar.dba.

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 29th Nov 2012 04:38
Chris Tate, I've been hitting this bug too!

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 10th Dec 2012 03:18 Edited at: 10th Dec 2012 03:19
v1.3.3 beta4 has been uploaded.

Chris Tate,

I couldn't seem to duplicate your issue even with the step by step. I did however restructure the logic in hopes that it'll help.


Burning Feet Man,

I tweaked the UDT parsing routine a little bit more after some DBPro coding of my own this weekend.


Indigo Site

All the best,

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 18th Dec 2012 05:54
With the holiday seasons upon us, I'm looking forward to getting some serious coding done!

I've an easy one for you today Balid. It seems that for the "While" and "EndWhile" command has the inability to fold.



Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Yodaman Jer
User Banned
Posted: 23rd Dec 2012 06:57
This IDE alone has gotten me back into coding with DBP! It's simply phenomenal! 1000 stars out of 10, and a beer for your excellent work!

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 24th Dec 2012 19:56
Quote: "simply phenomenal!"

Agreed.

One year ago it would take twice as long to do most general programming tasks. Your better off programming in DBP than LUA, IDE wise.

@Balid

New idea for the 2013 list; hopefully trivial to implement. An option to include the prefixed comment at the end of a function, label, field or variable declaration in the definition tip text.

Works a bit like the triple quote remarks in Visual Studio. With such an option enabled, one can organize ones elements into a more descriptive form by having their description display in the tip text system you created, simply by including the text after the comment delimiter up until the end of the comment. Would that be a significant selling point?

Comment based metadata is also a doorway for additional features such as object browsing, generation and precompiling.

I still think the ability to extend the IDE's capabilities with DLLs or scripts would be a real boost to productivity. I am dying to create a property grid for my DBP objects, but want to be sure such a thing will never be implemented into Indigo before proceeding. Handwritten underived literals is an ancient method for defining a system, although not so bad for the odd text adventure; overkill for a game world.

If property grids are not planned, as it stands, I would have to load the source code into my own .NET app to apply property grid functionality to generate instance assignments by returning a string of DBP code and inserting it into the project, and use the app as a pre-compiler.

Should be about 24-48 hours work, most of which involves parsing validation rules embedded in comments. But this would be better suited for the actual IDE and there is no point creating it externally if you have property grid features or .NET extensibility planned; let me know your thoughts.

Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 29th Dec 2012 01:10
Attempting to open large source files, such as the FPS Creator source code, causes Indigo to crash.


Sean

Login to post a reply

Server time is: 2024-04-19 16:12:30
Your offset time is: 2024-04-19 16:12:30