It is currently Sat May 25, 2013 6:47 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Feature Request - ToDo List (or notes)
PostPosted: Tue Oct 04, 2011 10:01 pm 
Offline
New User
New User

Joined: Tue Oct 04, 2011 9:55 pm
Posts: 3
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


Top
 Profile  
 
 Post subject: Re: Feature Request - ToDo List (or notes)
PostPosted: Tue Oct 04, 2011 10:16 pm 
Offline
Addict
Addict

Joined: Tue May 06, 2003 5:07 pm
Posts: 2258
Location: UK
Would love to have that :)


Top
 Profile  
 
 Post subject: Re: Feature Request - ToDo List (or notes)
PostPosted: Wed Oct 05, 2011 3:37 am 
Offline
Addict
Addict

Joined: Sat Oct 17, 2009 10:51 pm
Posts: 919
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.

_________________
If you are new to PB you should check out the CodeArchiv. It has examples for almost everything you would want to do in PB.


Top
 Profile  
 
 Post subject: Re: Feature Request - ToDo List (or notes)
PostPosted: Wed Oct 05, 2011 8:50 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jan 21, 2011 8:25 am
Posts: 549
What I think would be nice if some kind of "interactive" comments interpreted by the IDE, for example:
Code:
; 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
ImageImageImage
"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


Top
 Profile  
 
 Post subject: Re: Feature Request - ToDo List (or notes)
PostPosted: Wed Oct 05, 2011 10:41 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jun 26, 2009 3:51 pm
Posts: 194
Location: Westernmost tip of Norway
Shield wrote:
What I think would be nice if some kind of "interactive" comments interpreted by the IDE, for example:
Code:
; 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.

_________________
You never learn anything by doing it right.


Top
 Profile  
 
 Post subject: Re: Feature Request - ToDo List (or notes)
PostPosted: Wed Oct 05, 2011 12:16 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Mar 02, 2004 1:20 pm
Posts: 684
Location: Cologne / Germany
Shield wrote:
What I think would be nice if some kind of "interactive" comments interpreted by the IDE, for example: [...]

+1

Greetings ... Kiffi

_________________
Sorry for my weird english


Top
 Profile  
 
 Post subject: Re: Feature Request - ToDo List (or notes)
PostPosted: Wed Oct 05, 2011 3:32 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 1387
Location: Boston, MA
I use the Procedures Tab :idea:
Not sure why '!' has priority over other ASCII chars?
Code:
;-! 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

_________________
To understand recursion, you must first understand recursion. ~ unknown
I never make stupid mistakes. Only very, very clever ones. ~ John Peel


Top
 Profile  
 
 Post subject: Re: Feature Request - ToDo List (or notes)
PostPosted: Wed Oct 05, 2011 11:05 pm 
Offline
New User
New User

Joined: Tue Oct 04, 2011 9:55 pm
Posts: 3
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 :)


Top
 Profile  
 
 Post subject: Re: Feature Request - ToDo List (or notes)
PostPosted: Thu Oct 06, 2011 5:31 am 
Offline
Addict
Addict
User avatar

Joined: Tue Dec 23, 2003 3:54 am
Posts: 932
Location: New York
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:
Debug '!'
Debug 'A'

8)


Top
 Profile  
 
 Post subject: Re: Feature Request - ToDo List (or notes)
PostPosted: Thu Oct 06, 2011 6:21 am 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 1387
Location: Boston, MA
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:
;-! 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.

_________________
To understand recursion, you must first understand recursion. ~ unknown
I never make stupid mistakes. Only very, very clever ones. ~ John Peel


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye