To create a custom dictionaryĬreate a file that is named CustomDictionary.xml.ĭefine your custom words by using the following XML structure: To force code analysis to recognize the spelling, you can add the term knokker to the custom dictionary. It would then raise a warning that knokker was not spelled correctly. Code Analysis would identify the name as a compound of two words: door and knokker. You can create a custom dictionary Xml file to add, remove, or modify terms, abbreviations, and acronyms to the built-in dictionary.įor example, suppose your code contained a class named DoorKnokker. Code Analysis uses a built-in dictionary to check identifiers in your code for errors in spelling, grammatical case, and other naming conventions of the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |