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)
- bug(RCS1246): does not fire when a List has been inherited
- feat(List): use TrueForAll instead of All
- feat(List): "Exists" method should be used instead of the "Any"
- `[RCS1264]` `roslynator_use_var = when_type_is_obvious` should recognize `StringBuilder`
- Project contains numerous invalid exports of ILanguageService HOT 5
- is error on visual studio 2022 17.10.0 preview 3 HOT 8
- [RCS1260] False Positive
- RCS1111 should trigger when case returns directly or throws an exception HOT 2
- Upgrading CLI to 0.8.5 yields NullReferenceException HOT 1
- `--severity-level` is ignored with dotnet tool HOT 3
- RCS1077 - Cannot convert from System.Func to System.Predicate
- RCS1246 suggestion for Last() is not usable in .NET Framework 4.8 HOT 1
- [IDE0052] Add removal refactoring HOT 1
- RCS1208 False-positive on flat if statement with multiple conditions
- RCS1085 suggests auto-property if backing field is used as in-parameter
- `RCS1256`: Allow null-checks on virtual method overrides
- CLI Exlude, Include paramteters are not working HOT 1
- Conflict between `RCS0009` and `RCS0036` for auto-properties with documentation
- AddStaticModifierToAllPartialClassDeclarationsAnalyzer failling on top level statements
- Disable `RCS1201` when comments live between method calls 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.