Nuget package and Visual Studio extension that checks code and docs for offensive / exclusive terms and suggests alternative words.
MIT License
Make your code inclusive!
The Inclusiveness Analyzer is a Visual Studio extension that checks code for offensive / exclusive terms.
It also provides context on why a word is exclusive and suggests alternate terms that can be used instead.
The Inclusiveness Analyzer can be added to any C# project. Just install using NuGet and start writing code. The extension will be automatically loaded in Visual Studio for anyone that opens your project. Using the NuGet package is best when you are working on a project with a team.
Install-Package InclusivenessAnalyzer
Important Note: The Inclusiveness Analyzer is only used during development time and does not affect your projects outputs or binaries.
If you would like the Inclusiveness Analyzer to run on any Visual Studio project you can install the extension directly into Visual Studio.
View and install Inclusiveness Analyzer for Visual Studio 2022
View and install Inclusiveness Analyzer for Visual Studio 2019
Open Visual Studio 2019 or Visual Studio 2022
Select Extensions from the menu
Select Manage Extensions
Search for Inclusiveness
Select Download
The extension is scheduled for install. Your extension will be installed after all instances of Visual Studio have been closed.
Happy inclusive ❤️ coding!
As humans, we hold many unconscious and implicit biases that we rely on to react quickly to our environment and any novel stimuli. However, since the unconscious brain processes and reacts with speed, we sometimes speak quickly without thinking, which may cause us to slip offensive terms and stereotypes although we mean no malice.
In order to confront these biases that we see in ourselves and others, we must rewire ourselves to regularly use inclusive practices (such as the words we speak). If you don't intentionally and proactively include, you will unintentionally exclude.
Join our effort to push out exclusive terms and make inclusive terms a part of our everyday vocabulary!
Help us confront these biases by pushing out exclusive terms and making inclusive terms a part of our everyday vocabulary!
Icons made by Freepik from www.flaticon.com
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.