-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Roslyn analyzer package support #393
Merged
JoC0de
merged 8 commits into
GlitchEnzo:master
from
nowsprinting:roslyn_analyzer_support
Jan 7, 2023
Merged
Add Roslyn analyzer package support #393
JoC0de
merged 8 commits into
GlitchEnzo:master
from
nowsprinting:roslyn_analyzer_support
Jan 7, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Roslyn analyzers supported on Unity 2020.2 or later. The analyzer needs to make the following settings in plugin import settings. - Off all platforms - Set label `RoslynAnalyzer` With this setting, it will be enabled as an analyzer in Unity 2020.2 or later, and enabled in generated .csproj by the following plugins. - JetBrains Rider Editor v2.0.6+ - Visual Studio Code Editor v1.2.0+ see more information https://docs.unity3d.com/2020.2/Documentation/Manual/roslyn-analyzers.html
robin-moss
reviewed
Mar 4, 2022
robin-moss
reviewed
Mar 4, 2022
@robin-moss Thank you for your suggestions. |
This was
linked to
issues
Dec 26, 2022
JoC0de
force-pushed
the
roslyn_analyzer_support
branch
2 times, most recently
from
December 31, 2022 11:14
09d4ee0
to
1191021
Compare
JoC0de
force-pushed
the
roslyn_analyzer_support
branch
from
January 1, 2023 20:50
1191021
to
e3007e2
Compare
JoC0de
force-pushed
the
roslyn_analyzer_support
branch
3 times, most recently
from
January 7, 2023 18:32
5577ed7
to
f50368c
Compare
JoC0de
force-pushed
the
roslyn_analyzer_support
branch
from
January 7, 2023 20:22
f50368c
to
2556bfc
Compare
I was able to improve the implementation using a combination of your (@nowsprinting) code and things @robin-moss done in #14 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Roslyn analyzers supported on Unity 2020.2 or later.
The analyzer needs to make the following settings in plugin import settings.
RoslynAnalyzer
With this setting, it will be enabled as an analyzer in Unity 2020.2 or later, and enabled in generated .csproj by the following plugins.
see more information
https://docs.unity3d.com/2020.2/Documentation/Manual/roslyn-analyzers.html