Page 1 of 1
IDE: Display the return type of a procedure in status line
Posted: Sun Apr 19, 2020 2:31 pm
by Kurzer
Hello Fred,
I would find it very helpful if the return type of a procedure would be displayed in the status line.
Currently, only the procedure name and the procedure parameters are displayed there, but not the return type, if the procedure has one.
Kind Greetings
Kurzer
Re: IDE: Display the return type of a procedure in status li
Posted: Sun Apr 19, 2020 5:15 pm
by skywalk
Yes, requested long ago. Open IDE now has a chance.

Re: IDE: Display the return type of a procedure in status li
Posted: Sun Apr 19, 2020 5:25 pm
by chi
+1
skywalk wrote:Yes, requested long ago. Open IDE now has a chance.
Problem is, those texts are inside each pb libraries... So only Fred could change it. You can check by opening a pb lib (eg PureBasic(x64)\PureLibraries\Process) with a text editor.
edit: you could of course edit the libs and add all returns yourself

Re: IDE: Display the return type of a procedure in status li
Posted: Mon Apr 20, 2020 5:16 pm
by Kurzer
chi, if you mean PureBasic's own commands, you're right.
But I meant the self-written procedures that are in the source code.
For example.
Procedure.s GetCustomerName(CustomerID.i)
The procedure could be displayed in the status line as "GetCustomerName.s"
(Of course without the color highlighting, this only served to illustrate what is important to me)
Re: IDE: Display the return type of a procedure in status li
Posted: Mon Apr 20, 2020 6:00 pm
by chi
kurzer wrote:chi, if you mean PureBasic's own commands, you're right.
But I meant the self-written procedures that are in the source code.
Oh, I see... Yes, that would be pretty nice too

Re: IDE: Display the return type of a procedure in status li
Posted: Tue Apr 21, 2020 11:47 pm
by kenmo
+1 I like this idea
Re: IDE: Display the return type of a procedure in status li
Posted: Wed Apr 29, 2020 3:21 pm
by Blue
+1
Great suggestion, kurzer
Another simple idea that would be greatly useful.
Re: IDE: Display the return type of a procedure in status li
Posted: Sun May 24, 2020 10:42 pm
by le_magn
+1
Re: IDE: Display the return type of a procedure in status li
Posted: Sun Jun 21, 2020 5:18 am
by Mohsen
+1
Re: IDE: Display the return type of a procedure in status li
Posted: Sun Jun 21, 2020 10:31 am
by Bisonte
And to enhanced this request, the description was nice.
I mean like tailbite does it long time ago :
Code: Select all
Procedure.i Foo(p1.i) ;- Description Text
EndProcedure
The IDE shows : Foo(p1.i) - Description Text
+1
Re: IDE: Display the return type of a procedure in status li
Posted: Sun Jun 21, 2020 3:13 pm
by IdeasVacuum
+1
It's easy to diy - just prefix or postfix a letter to the procedure name accordingly
Code: Select all
iThisProcedureReturnsInt()
sThisProcedureReturnsString()