Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to avoid spell checking of source code in MS Word?

When I copy source code to a word document or email, it would be nice if spell check could ignore source code token.

Is there an option to ignore blocks of text?

like image 965
John MacIntyre Avatar asked Feb 05 '09 02:02

John MacIntyre


People also ask

How do I ignore spell check in Word?

Here's how. Select the text where you'd like to disable spell check or press Ctrl+A to select the entire document. On the Review tab, click Editor, and then click Set Proofing Language. In the Language box, click Don't check spelling or grammar, and then click OK.

How do I stop Word from checking error?

Click File > Options > Proofing, clear the Check spelling as you type box, and click OK. To turn spell check back on, repeat the process and select the Check spelling as you type box. To check spelling manually, click Review > Spelling & Grammar.


1 Answers

This one's easy. Select the code you pasted, go to Tools -> Language (or in the latest version of Word, the equivalent on the ribbon) and select the checkbox "Don't check."

like image 106
Eddie Avatar answered Nov 16 '22 07:11

Eddie