Page 1 of 1

AutoComplete procedure descriptions through comments

Posted: Wed Jan 28, 2015 4:12 pm
by Henry00
It would be incredibly useful to have the ability to create AutoComplete comments in Procedures, Variables, #Constants and more.
Currently when a build-in procedure is typed you are able to get a small description:

Image

However it is currently not possible to add these to your own procedures.

Code: Select all

Procedure.l Prt(Origin$, Message$) ; This is a tailbite single-line description comment.

; brief: Logs an error message. Do not use directly, instead use the GError Macro.
; param: Origin$
;   Information origin and class information.
; param: Message$
;   The message describing the event.
; return: Length of message.
Procedure.l Prt(Origin$, Message$)
The syntax is completely up to the developers, I simply hope we will one day see this feature.
Thank you so much for all your hard work!

Re: AutoComplete procedure descriptions through comments

Posted: Wed Jan 28, 2015 4:15 pm
by skywalk

Re: AutoComplete procedure descriptions through comments

Posted: Wed Jan 28, 2015 4:27 pm
by c4s
The following request is pretty much related: eclipse's javadoc-like hover info

Re: AutoComplete procedure descriptions through comments

Posted: Wed Jan 28, 2015 5:10 pm
by Henry00
c4s wrote:The following request is pretty much related: eclipse's javadoc-like hover info
This is exactly what I wish to see. PureBasic is having no trouble at all finding procedures/variables and so forth for the current AutoComplete list. It would be a small addition to the search algorithm and IDE that would be a blast to have. If the AutoComplete list had icons too it would be easier to tell what entry is a function, what is a global variable, what is a local variable, etc.