IDisposableAnalyzers
Microsoft.Unity.Analyzers
IDisposableAnalyzers | Microsoft.Unity.Analyzers | |
---|---|---|
2 | 5 | |
357 | 637 | |
1.1% | 0.9% | |
7.5 | 7.5 | |
6 days ago | 1 day ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
IDisposableAnalyzers
-
Some tips on tooling for improving our code
IDisposableAnalyzers: object disposal validation
-
Go Does Not Need a Java Style GC
Sure, but I am the opinion it does compose, if one embraces it isn't the same as writing C++ in C#, not trying to downplay your experience on the matter.
For example, here are the Roslyn analysers for a more RAII like experience with IDisposable,
https://github.com/DotNetAnalyzers/IDisposableAnalyzers
Turn "DISP004-Don't ignore created IDisposable." into a compiler error and you have your region allocated RAII like experience.
And moving a bit the goal posts, for those scenarios where C# fails completly to provide a usefull solution, we can rewrite just that module into C++ (preferably C++/CLI when only Windows matters), and have the best of both languages.
Microsoft.Unity.Analyzers
-
Some tips on tooling for improving our code
Unity Analyzers: to find gotchas in Unity-based games and apps.
-
False IDE0051 warning “Private member ‘Example.Start” is unused”?
That warning is suppressed by USP0003 in the Microsoft Unity Analysers. In Visual Studio Community they should be installed by the Game Development with Unity package. I'm not sure about Visual Studio Code though.
-
Hi everyone, today a little question
My understanding is that SetPositionAndRotation is just a shorthand for setting position and rotation on 2 lines. However there are posts that suggest there is some performance benefits.
-
Please code review my project!
Don't compare tags like this if (collision.gameObject.tag == "Platform") because it's inefficient: https://github.com/microsoft/Microsoft.Unity.Analyzers/blob/main/doc/UNT0002.md
-
Experiences Software Developer looks for start in Unity
You can use either regular Visual Studio (including Community Edition) or Visual Studio Code as your editor. I usually prefer the full Visual Studio because I work with other types of projects, it provides good refactoring support and there are some good analyzers available.
What are some alternatives?
golang-jvm
Roslynator - Roslynator is a set of code analysis tools for C#, powered by Roslyn.
moduloze - Convert CommonJS (CJS) modules to UMD and ESM formats
MyBox - MyBox is a set of attributes, tools and extensions for Unity
ESLint - Find and fix problems in your JavaScript code.
Standard - 🌟 JavaScript Style Guide, with linter & automatic code fixer
UnityLibrary - :books: Library of all kind of scripts, snippets & shaders for Unity
com.unity.netcode.gameobjects - Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
eslint-plugin-promise - Enforce best practices for JavaScript promises
eslint-config-standard - ESLint Config for JavaScript Standard Style