Page 1 of 1

Feature Request - ToDo List (or notes)

Posted: Tue Oct 04, 2011 10:01 pm
by sgalland
Hello,

I would like to say I have been playing with PureBasic for months and I love it. I finally broke down today and purchased it since I have a project to actually work on. It's a great language development tool, thank you.

Anyhow, the reason I am posting is that I have noticed that there isn't any way to leave notes in the IDE in a way that Visual Studio has (TODO list) or just a simple way to add note fields. If this cannot be added to the IDE, is there a way to write a plugin for the IDE?

It's a small addition, but since I program a lot and have a tendancy to be forgetful, I sometimes have to leave obvious reminders to myself.

Thanks,
Sean Galland

Re: Feature Request - ToDo List (or notes)

Posted: Tue Oct 04, 2011 10:16 pm
by Polo
Would love to have that :)

Re: Feature Request - ToDo List (or notes)

Posted: Wed Oct 05, 2011 3:37 am
by Kuron
This is one of those things where one size does not fit all.

There are some lovely free todo programs out there, and I think you can find one or more floating around the forum.

Re: Feature Request - ToDo List (or notes)

Posted: Wed Oct 05, 2011 8:50 am
by Shield
What I think would be nice if some kind of "interactive" comments interpreted by the IDE, for example:

Code: Select all

; TODO: Do this now!
; HACK: This is only a hack! Fix it ASAP!
; WARNING: Code is highly unstable, has to be improved!
The IDE would then parse those comments and display them in a list. :)

Re: Feature Request - ToDo List (or notes)

Posted: Wed Oct 05, 2011 10:41 am
by KJ67
Shield wrote:What I think would be nice if some kind of "interactive" comments interpreted by the IDE, for example:

Code: Select all

; TODO: Do this now!
; HACK: This is only a hack! Fix it ASAP!
; WARNING: Code is highly unstable, has to be improved!
The IDE would then parse those comments and display them in a list. :)
Now that is a good idea!
If we could configure the IDE with self-defined key words that would affect the links and if the links also could be in a (optional) tree structure all 'TODO:' 'HACK:'" etc would be easy to find and keep an overview.

Re: Feature Request - ToDo List (or notes)

Posted: Wed Oct 05, 2011 12:16 pm
by Kiffi
Shield wrote:What I think would be nice if some kind of "interactive" comments interpreted by the IDE, for example: [...]
+1

Greetings ... Kiffi

Re: Feature Request - ToDo List (or notes)

Posted: Wed Oct 05, 2011 3:32 pm
by skywalk
I use the Procedures Tab :idea:
Not sure why '!' has priority over other ASCII chars?

Code: Select all

;-! TODO LIST
;-!1. Do this ...
;-!2. and that ...
;-!3. still more ...
;-!99. End of TODO LIST
Procedure Foo(x,y,z) ;- Do nothing
  ProcedureReturn
EndProcedure

Re: Feature Request - ToDo List (or notes)

Posted: Wed Oct 05, 2011 11:05 pm
by sgalland
Thats a cool way to do it, using the procedures tab.

Maybe I will just have to writer a HTML generator. Scan the .pb files or something simple. It's not a huge deal. I guess sticky notes on my monitor (or in Windows 7) works too :)

Re: Feature Request - ToDo List (or notes)

Posted: Thu Oct 06, 2011 5:31 am
by kenmo
I manually keep TODO and BUGS lists in the comments near the top of my code...

I also mark lines of code that need later attention with my own ;? mark, to make quick searching simple.

An IDE feature might be nice, but like Kuron said, it will be hard to implement it a way that everyone likes.
skywalk wrote:Not sure why '!' has priority over other ASCII chars?

Code: Select all

Debug '!'
Debug 'A'
8)

Re: Feature Request - ToDo List (or notes)

Posted: Thu Oct 06, 2011 6:21 am
by skywalk
Haha kenmo, yes, I had the Ascii Table open too! :wink:
What I meant to ask was why the ' ' space char is not higher priority than the '!' exclamation point?
I chose '!' because all ' ' space char's are trimmed following a ';-' combo. :!:
It actually works out pretty well as it is, just don't know if freak and/or scintilla is doing this?
Also, I have my preferences set to show the Procedures alphabetically, since I use a naming prefix for common functions.
Like, 'SF_' for StringFunctions or 'ML_' for MathLib, etc.

Code: Select all

;-! TODO LIST
;-!1. Do this ...
;-!2. and that ...
;-!3. still more ...
;-!99. End of TODO LIST

;- 0. TODO LIST
;- 1. Do this ...
;- 2. and that ...
;- 3. still more ...
;- 99. End of TODO LIST
Procedure Foo(x,y,z) ;- Do nothing
  ProcedureReturn
EndProcedure
;-            Leading spaces are trimmed
;-when viewed in the Procedures Tab.