Comments (9)
Only "simpler" way I know about is to create a script that will edit csproj files.
from roslynator.
- Please distinguish between analyzer and refactoring. If it has a code like "RCS...." then it is analyzer.
- See How to Customize Analyzers.
- Visual Studio options page works only for refactorings.
from roslynator.
@josefpihrt Ah makes sense! Maybe it could help if you could add a column with the associated code in the options, as some of the refactoring share a name with analyzers.
from roslynator.
Could you be more concrete about this proposal. I'm not clear about how it should look like and what is the purpose of it. Thanks.
from roslynator.
@josefpihrt I thought refactorings already had IDs, but it seems only a proposal defined in #36 .
if #36 goes ahead, I was thinking about something like this, which would self document that refactorings are a different thing than analyzer, even if they share a name:
from roslynator.
@Thieum new options page with 'Id' column has been implemented here and here.
So I think I can close this now.
from roslynator.
Perhaps I'm missing it, but where can I disable RCS1018 @josefpihrt?
The list only has RR* refactorings in it.
from roslynator.
@kieronlanning please see How to Configure Analyzers.
from roslynator.
Thanks @josefpihrt, I saw that after posting it. I've set it up in our 72 project solution. But we'll need to remember to add that to new each project. Is there a simpler way?
from roslynator.
Related Issues (20)
- RCS1261: "Resource can be disposed asynchronously" does not take lock statement into account
- About new packages HOT 4
- Consider disabling `RCS1223` for attributes HOT 2
- RCS1159 should not be reported for WPF routed events HOT 2
- Declare as nullable code fix for CS8600 breaks when casts are involved HOT 1
- Simplify numeric comparison HOT 7
- Consider disabling `RCS0012` for fields HOT 1
- `RCS1019` does not work for `file static` HOT 1
- Collection expressions are not considered "obvious" typing
- `RCS1250` fixer cannot handle collection expressions
- `RCS1250` Applies collection-expression fixer when properties are set.
- RCS1060 doesn't work with file-scoped namespaces HOT 2
- CS8032: An instance of analyzer Roslynator.CSharp.Analysis.UnnecessaryRawStringLiteralAnalyzer cannot be created HOT 2
- RCS1267 - propose wrong fix
- Some analyzers don't work in Rider with severity being set to "suggestion" HOT 1
- RCS1169 not being diffused by roslynator_unity_code_analysis.enabled = true HOT 4
- RCS1077 Crashes with NullReference Exception HOT 2
- Typo in new option key
- Missing documentation HOT 7
- Add performance refactoring for IList Last, First or ElementAt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roslynator.