This plugin highlights inappropriate phrases in comments and provides quick-fix suggestions to replace them. Replacement phrases are sourced from a directory containing .txt
files with pairs formatted as bad_phrase ==> good_replacement
.
The plugin acquires the directory path through an environment variable and tracks any changes to the files. The bad words repository updates the phrase replacement dictionary asynchronously to prevent interference with user typing.
- Clone the repository:
git clone https://github.com/DimitrijeG/resharper-plugin-bad-words
- Change to the directory:
cd resharper-plugin-bad-words
- Start your IDE with the plugin, setting the environment variable
BAD_WORDS_DIR
to your chosen bad words directory path