Coding Style: code spell-check
Good evening!
This question is relating to IDE, not programming.
Is there a way to spell-check my code in Visual Studio and have typos underscored? This seems to be a logical step from syntax highlighting. I want to spell check my variable, function, class etc. names not only comments as Visual Assist X offers. It's very sad when I have compile time errors because of stupid typos.
At the moment I'm using UltraEdit + MinGW and name_my_identifiers_like_this, but I'd like to move to Visual Studio. It would also be good to have spell check ofWordsInCamelCase. I've heard that VS2008 includes spell checker. Does it work as I described?
Thanks in advance!
Re: Coding Style: code spell-check
I think you already have what you are looking for.
If you establish coloring scheme in VAX, any misspelled function would not change color and it will stay black.
Re: Coding Style: code spell-check
I forgot to add. VAX adds a red squiggle underline if function/variable name is misspelled.
Re: Coding Style: code spell-check
This is not really the thing I need. Say I have a function (or method) named GetVariabel() (See mistake?) If I didn't know how the word 'variable' is written correctly I would still continue to write GetVariabel() in my code. So I need something that would underline the 'variabel'. English is not my mother tongue, but I don't want to look like in-alphabetized!
Re: Coding Style: code spell-check
English is not my mother tongue.
Sorry for posting this useless comment, but "mother tongue" looks amazing in this question context :)
Re: Coding Style: code spell-check
I didn't really understood what you mean. If you think that tongue is only a part of body than you are false, see http://en.wikipedia.org/wiki/Native_language, or http://thesaurus.reference.com/browse/mother+tongue 'native language', 'mother tongue' and even 'birth tongue' are perfect synonyms. Probably I should give up with an idea to get spell check for my code as some people need thesaurus and the code will stay in-alphabetized forever.
If you try to increase maintainability of your code in international environment you must name identifiers in English. If you lack of smth. or can't use reserved word go to standard procedure: English -> Latin -> Greek(transliterated). This is the standard way to write syntactically correct and readable code using 26 letters of English ABC. And now try to guess what do the following functions do: poluchitjPeremennuju() and dabuutMainiigo()
Re: Coding Style: code spell-check
Quote:
Originally Posted by
andrey_zh
I would still continue to write GetVariabel() in my code. So I need something that would underline the 'variabel'.
I do not know what version of VAX you are running. This case is also underlined and in color different from the one you assigned to display functions/variables providing it is already declared.
I am sure there in no such a spelling checker that would correct name you mention in your code. It would be very difficult and not practical to write one. Write parts of the word as a string and VA will correct it. Than you can concatenate.