Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Basic4ppc Wishlist Missing any feature?

Auto-Capitalized Variable Names

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-26-2009, 11:49 AM
JesseW's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2008
Posts: 250
Default Auto-Capitalized Variable Names

Being a throwback from the VB6 days, I'm used to setting up variable names capitalized the way I like them in the DIM statements, then just typing along in lowercase and letting the IDE fix the other occurrences automatically. B4P does this with keywords... Can you add this functionality to variables, including library and control names, as well?

I'm spending more time fixing my variable names it seems than writing code. I dunno... Maybe I'll just switch to all lower case

ps. my [Backspace] key is nice & shiny...

Thanks again, Erel for all your work... --Jesse
Reply With Quote
  #2 (permalink)  
Old 03-26-2009, 01:35 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Are you using Ctl-SpaceBar? It auto-completes just about anything with the correct capitalisation.
Reply With Quote
  #3 (permalink)  
Old 03-29-2009, 01:06 AM
JesseW's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2008
Posts: 250
Default

No, I hadn't realized ctrl-spacebar. But even remembering ctrl-spacebar is too much for me. I type pretty fast, and just like to roll on without capitalizing or ctrl-spacing.

Was just suggesting/hoping/asking if that might be possible in the next release. If not, that's ok, I'll just start using lower case var names. I'm the only one that reads it anyway

Thanks for responding...

Erel, how bout it? If a variable is Dimmed and used later not in the same case, could the IDE correct the case? If a variable isn't dimmed, then it should be left as is?

Jesse

Edit: Just tried using ctrl-space, and it does work in a nice way. I will try to remember to use it... but I still prefer just typing straight code at 90 MPH without stopping along the way for extra keystrokes. I guess the old phrase, "different keystrokes for different folks" just came true, huh, hahahaaaaa

Last edited by JesseW : 03-29-2009 at 01:16 AM.
Reply With Quote
  #4 (permalink)  
Old 03-29-2009, 04:11 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Quote:
Erel, how bout it? If a variable is Dimmed and used later not in the same case, could the IDE correct the case? If a variable isn't dimmed, then it should be left as is?
I also favorably remember this VB6 behavior.
Will see how and when it will be implemented.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
auto show combobox list? europe Questions (Windows Mobile) 4 11-19-2008 06:44 AM
Auto-run on the device... burtcom Basic4ppc Wishlist 2 11-18-2008 09:09 PM
Auto Keyword im4retro Questions (Windows Mobile) 2 06-06-2008 03:45 PM
GPS Port Auto Detect - more files derez Share Your Creations 2 05-14-2007 05:36 PM
GPS Port Auto Detect derez Share Your Creations 0 05-12-2007 06:38 PM


All times are GMT. The time now is 11:43 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0