Skip to content

zcyemi/Unity-CodeAnalyzerPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unity-CodeAnalyzerPlugin

Untiy plugin for integrating any roslyn code analyzer dll with VisualStudio or VSCode.

What is Unity-CodeAnalyzerPlugin

Unity will regenerate csproj file after any script file changes. The analyzer reference which manually attatched to Unity's .csproj will be reverted automatically.

This plugin hook the .csproj refreshing process and insert the analyzer reference into .csproj file if missing.

Quick Start

  1. Copy the folder to your unity project asset path.
  2. Click menu item CodeAnalysis/Config, then select custom analyzer dll.
  3. Click menu item CodeAnalysis/Refresh, apply the analyzer to csproj.
  4. double-click any script asset, open source file in Visual Studio. The selected analyzer appears on the slution window/<Project>/references/analyzer/.

Other

Alternatives: UnityEngineAnalyzer

feature

  • Visual Studio editor code analysis.
  • VSCode partially supported. use cli command msbuild build to get all diagnostics on console.
  • No need to install vsix.

About

Untiy plugin for integrating any roslyn code analyzer dll with VisualStudio or VSCode.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages