Feature Request - ToDo List (or notes)

Working on new editor enhancements?
sgalland
New User
New User
Posts: 3
Joined: Tue Oct 04, 2011 9:55 pm

Feature Request - ToDo List (or notes)

Post 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
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Feature Request - ToDo List (or notes)

Post by Polo »

Would love to have that :)
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: Feature Request - ToDo List (or notes)

Post 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.
Best wishes to the PB community. Thank you for the memories. ♥️
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: Feature Request - ToDo List (or notes)

Post 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. :)
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
User avatar
KJ67
Enthusiast
Enthusiast
Posts: 218
Joined: Fri Jun 26, 2009 3:51 pm
Location: Westernmost tip of Norway

Re: Feature Request - ToDo List (or notes)

Post 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.
The best preparation for tomorrow is doing your best today.
User avatar
Kiffi
Addict
Addict
Posts: 1503
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: Feature Request - ToDo List (or notes)

Post 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
Hygge
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Feature Request - ToDo List (or notes)

Post 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
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
sgalland
New User
New User
Posts: 3
Joined: Tue Oct 04, 2011 9:55 pm

Re: Feature Request - ToDo List (or notes)

Post 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 :)
User avatar
kenmo
Addict
Addict
Posts: 2045
Joined: Tue Dec 23, 2003 3:54 am

Re: Feature Request - ToDo List (or notes)

Post 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)
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Feature Request - ToDo List (or notes)

Post 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.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Post Reply