R rgately Member Licensed User Longtime User Nov 7, 2011 #1 It would be nice if the code editor would automatically capitalize characters used in user created variables so that the shift key wouldn't have to be used so much. For example: If I create a variable called "SetLayout" all I would need to do is type "setlayout" and when followed by a space it would replace itself with "SetLayout". Thanks for a great product and for listening.
It would be nice if the code editor would automatically capitalize characters used in user created variables so that the shift key wouldn't have to be used so much. For example: If I create a variable called "SetLayout" all I would need to do is type "setlayout" and when followed by a space it would replace itself with "SetLayout". Thanks for a great product and for listening.
JonPM Well-Known Member Licensed User Longtime User Nov 7, 2011 #2 How would it know to capitalize the "L"? also this doesn't follow java conventions Sent from my DROIDX
How would it know to capitalize the "L"? also this doesn't follow java conventions Sent from my DROIDX
R rgately Member Licensed User Longtime User Nov 8, 2011 #3 It would know to capitalize the L because the variable has been declared using DIM. It's what I am familiar with in Visual Studio.
It would know to capitalize the L because the variable has been declared using DIM. It's what I am familiar with in Visual Studio.
JonPM Well-Known Member Licensed User Longtime User Nov 8, 2011 #4 Oh I see, I thought you meant when Dim'ing Sent from my DROIDX
Erel B4X founder Staff member Licensed User Longtime User Nov 8, 2011 #5 Note that currently you can use the autocomplete feature (Ctrl + Space) to correctly capitalize the variables.
Note that currently you can use the autocomplete feature (Ctrl + Space) to correctly capitalize the variables.
M magarcan Active Member Licensed User Longtime User Nov 8, 2011 #6 Erel said: Note that currently you can use the autocomplete feature (Ctrl + Space) to correctly capitalize the variables. Click to expand... Would be really interesting autocomple variables while we are writing (like when we are write Imageview1. and all methods are shown).
Erel said: Note that currently you can use the autocomplete feature (Ctrl + Space) to correctly capitalize the variables. Click to expand... Would be really interesting autocomple variables while we are writing (like when we are write Imageview1. and all methods are shown).
R rgately Member Licensed User Longtime User Nov 8, 2011 #7 Thanks for the tip about using Ctrl+Space. I will try to remember to use it.
NeoTechni Well-Known Member Licensed User Longtime User Nov 10, 2011 #8 rgately said: It would be nice if the code editor would automatically capitalize characters used in user created variables so that the shift key wouldn't have to be used so much. For example: If I create a variable called "SetLayout" all I would need to do is type "setlayout" and when followed by a space it would replace itself with "SetLayout". Click to expand... Agreed. I love this about VB. As an OCD, it keeps code clean which I love. Plus it solves the problem of B4A not notifying you when you make a typo in a variable name sometimes. It already has this for built in variables, just not ours.
rgately said: It would be nice if the code editor would automatically capitalize characters used in user created variables so that the shift key wouldn't have to be used so much. For example: If I create a variable called "SetLayout" all I would need to do is type "setlayout" and when followed by a space it would replace itself with "SetLayout". Click to expand... Agreed. I love this about VB. As an OCD, it keeps code clean which I love. Plus it solves the problem of B4A not notifying you when you make a typo in a variable name sometimes. It already has this for built in variables, just not ours.
R rgately Member Licensed User Longtime User Nov 13, 2011 #9 The Ctrl + Space key combination behaves exactly as I imagined auto-capitalization would behave. I noticed that some of the words in the list already do auto capitalize. It would be great if everything in this list would auto capitalize as you type. Last edited: Nov 14, 2011
The Ctrl + Space key combination behaves exactly as I imagined auto-capitalization would behave. I noticed that some of the words in the list already do auto capitalize. It would be great if everything in this list would auto capitalize as you type.
Rusty Well-Known Member Licensed User Longtime User Jan 13, 2012 #10 Wish: Auto Capitalizatin in the code editor Check out the new release 1.8. It does this now, and a lot of other things.
Wish: Auto Capitalizatin in the code editor Check out the new release 1.8. It does this now, and a lot of other things.