Wiki

Clone wiki

VSExtensions / UDNZ.Roslyn.Analyzer

UDNZ.Roslyn.Analyzer


Summary

Analyzers/Validations/Quick-fixes for .NET Compiler Platform ("Roslyn").

Features

  • Validations of Composite Format String at compile-time.
  • Quick-fixes for Composite Format Strings.
  • Break the compiling while any "Error" exists in the analysis. (nupkg only)

There are two ways to use UDNZ.Roslyn.Analyzer, nuget package or vs extension, you can choose any way of them to use it. And the .dll(s) in this package/vsix will NOT* be included in your release/output.

您可以选择以 nuget 包或者 Visual Studio 插件的方式安装使用。并且此分析器不会污染您的项目,包里的任何文件都不会被添加到您的项目输出文件中

Way to Install Scope Break Compiling .Net Framework Effect
nuget package(nupkg) Projects When Error Require .NET 4.5+ The project only. You have to install it in each projecs.
vs extension(vsix) Visual Studio IDE Never Require .NET 2.0+ All solution/projects opened. Not need to install in any project.

Supporting Methods

  • string.Format
  • Console.WriteLine
  • Debug.WriteLine
  • StringBuilder::AppendFormat

roslyn1.png

Requirement

  • Vistual Studio 2015+

Localization

English, 简体中文.

Download/Installation

nuget package(nupkg): https://www.nuget.org/packages/UDNZ.Roslyn.Analyzer

vs extension(vsix): https://marketplace.visualstudio.com/items?itemName=AustinLuo.CCodeAnalyzerRoslyn


Please feel free to let me know if you find any issues or have any suggestions, Have fun!

欢迎加入 QQ 讨论群:126749548

Updated