Auto-Capitalized Variable Names

Discussion in 'Basic4ppc Wishlist' started by JesseW, Mar 26, 2009.

  1. JesseW

    JesseW Active Member Licensed User

    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
  2. agraham

    agraham Expert Licensed User

    Are you using Ctl-SpaceBar? It auto-completes just about anything with the correct capitalisation.
  3. JesseW

    JesseW Active Member Licensed User

    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?


    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 :D
    Last edited: Mar 29, 2009
  4. Erel

    Erel Administrator Staff Member Licensed User

    I also favorably remember this VB6 behavior.
    Will see how and when it will be implemented.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice