How to stop analyze feature for certain file types?

已回答

When I open a text file, the IDE will try to analyze it and show problems (such as typo) on the top right corner of the editor. Is it possible to config IDE so it will not analyze *.txt files?

 

0

In the case of the spell checker, you can disable the "Plain text files" checkbox under Preferences | Editor | Natural Languages | Grammar and Style to stop analyzing them: https://i.imgur.com/9D6pAkn.png

If you'd like to exclude .txt files from other inspections, perform the following: 

1. Configure a custom scope: https://i.imgur.com/RDtyoej.png
2. Tell an inspection to work within that scope: https://i.imgur.com/RYzkp5d.png

You can also exclude a file type from the project, so it will not be analyzed anyhow: https://i.imgur.com/BxVaf1m.png

1

请先登录再写评论。