Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Query about eclipse

Options
  • 28-10-2004 11:03am
    #1
    Closed Accounts Posts: 1,525 ✭✭✭


    Just wondering if they is a case correction option in eclipse. I'm think in terms of the vb way where variables and methods with incorrect case with be automatically changed to what they should be.


Comments

  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    I doubt it, VB isn't case sensitive so you can have auto-correct. In Java foo and Foo are two different objects; they IDE wouldn't know which you're referring too.


  • Closed Accounts Posts: 92 ✭✭tempest


    If you use the autocomplete function (Ctrl + space) when typing the name of a method or variable it will do this for you. If there _happens_ to be a variable or method called foo and another one called Foo then a list of options will be presented and you can pick the one you want.
    It will not do what vb does in that it will not correct it after it is fully typed in. This is because of what Evil Phil said.

    btw if you _do_ have a variable called foo and another called Foo then you really need to take a step back and examine the code. ;)


Advertisement