It would be nice, if the IDE also sets correct capitalization for custom procedures, not only for the native commands.
No matter if autocomplete activated or deactivated, if you avoid using it and write the procedure names manuelly (e. g. isParameter()), then the 'p' is not capitalized:
Procedure isParameter(param.s)
; code
EndProcedure
Debug isparameter()
^ ^
| └------ typing this bracket does not correct the P within the procedure name
└------------------- this only works with native commands
This was requested once before. I think the thread said that because
AutoComplete does it, it wasn't warranted. Or something like that.
I mean, who types "isparameter" instead of just "ispar" and the Tab
key?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Me, because I work via Tight VNC on my virtual Linux Server with the PB IDE.
I must deactivate autocomplete, because the autocomplete-window always steals the IDE the focus (because of the x-window system that is used there). I have to focus the IDE after each autocomplete manually.
I don't submit this bug only to have it fixed for my special case, but for all people who have autocomplete deativated, for what ever reason.
Last edited by AND51 on Wed Jun 24, 2009 10:49 am, edited 1 time in total.
And I didn't know that this has been requested before.
To be honest: even if I had used the search button, I wouldn't have known any appropiate search terms.
PB wrote:This was requested once before. I think the thread said that because
AutoComplete does it, it wasn't warranted. Or something like that.
I mean, who types "isparameter" instead of just "ispar" and the Tab
key?
I do, when I have another variable called isparamete. Sometimes variable names are so close together that you have to type them out, or it's only two letters more, so it's a waste of time to find the enter (or tab) key. But for me it's mostly a problem with one to three-letter variable names.
@Trond: You know what I meant. If there are 2 or more similar names, then
of course you don't just hit Tab on the first one. :roll: You use the correct one
from the AutoComplete window.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
PB wrote:@Trond: You know what I meant. If there are 2 or more similar names, then
of course you don't just hit Tab on the first one. :roll: You use the correct one
from the AutoComplete window.
But often it's more work to switch to the arrow keys and select the correct name and hit enter than to just type it.