# Spell-Checking Identifiers

## Content



If you are using Visual Studio 2008, you can use the code analysis tools in Visual Studio to spell-check your identifiers. To do that:

1\. Right-click your project and select **Properties**.

2\. Then click the **Code Analysis** tab on the left of the page.

You will see a list of "Naming Rules" that includes several spell-checking options, as shown below:

![](https://cdn.mescius.io/document-site-files/images/df3587ac-bb39-4e04-bc45-edc850000d4d/images/namingrules.png)

3\. Select the options you want and close the dialog box.

4\. From the **Build** menu, select the **Run Code Analysis** option.

Visual Studio spell-checks your identifiers for you. Any errors found will be displayed as warning in the Visual Studio Error List, as shown below:

![](https://cdn.mescius.io/document-site-files/images/df3587ac-bb39-4e04-bc45-edc850000d4d/images/visualstudioerrorlist.png)