IDE: Display the return type of a procedure in status line
IDE: Display the return type of a procedure in status line
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
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
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2023: 56y
"Happiness is a pet." | "Never run a changing system!"
"Happiness is a pet." | "Never run a changing system!"
Re: IDE: Display the return type of a procedure in status li
Yes, requested long ago. Open IDE now has a chance.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: IDE: Display the return type of a procedure in status li
+1
edit: you could of course edit the libs and add all returns yourself
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.skywalk wrote:Yes, requested long ago. Open IDE now has a chance.
edit: you could of course edit the libs and add all returns yourself
Et cetera is my worst enemy
Re: IDE: Display the return type of a procedure in status li
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)
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)
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2023: 56y
"Happiness is a pet." | "Never run a changing system!"
"Happiness is a pet." | "Never run a changing system!"
Re: IDE: Display the return type of a procedure in status li
Oh, I see... Yes, that would be pretty nice tookurzer 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.
Et cetera is my worst enemy
Re: IDE: Display the return type of a procedure in status li
+1 I like this idea
Re: IDE: Display the return type of a procedure in status li
+1
Great suggestion, kurzer
Another simple idea that would be greatly useful.
Great suggestion, kurzer
Another simple idea that would be greatly useful.
"That's not a bug..." said the programmer. "it's a feature! "
"Oh! I see..." replied the blind man.
"Oh! I see..." replied the blind man.
Re: IDE: Display the return type of a procedure in status li
And to enhanced this request, the description was nice.
I mean like tailbite does it long time ago :
+1
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
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: IDE: Display the return type of a procedure in status li
+1
It's easy to diy - just prefix or postfix a letter to the procedure name accordingly
It's easy to diy - just prefix or postfix a letter to the procedure name accordingly
Code: Select all
iThisProcedureReturnsInt()
sThisProcedureReturnsString()
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.