GithubHelp home page GithubHelp logo

Comments (9)

josefpihrt avatar josefpihrt commented on May 19, 2024 1

Only "simpler" way I know about is to create a script that will edit csproj files.

from roslynator.

josefpihrt avatar josefpihrt commented on May 19, 2024
  • 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.

Thieum avatar Thieum commented on May 19, 2024

@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.

josefpihrt avatar josefpihrt commented on May 19, 2024

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.

Thieum avatar Thieum commented on May 19, 2024

@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:

refactorings

from roslynator.

josefpihrt avatar josefpihrt commented on May 19, 2024

@Thieum new options page with 'Id' column has been implemented here and here.

So I think I can close this now.

from roslynator.

kieronlanning avatar kieronlanning commented on May 19, 2024

Perhaps I'm missing it, but where can I disable RCS1018 @josefpihrt?

The list only has RR* refactorings in it.

from roslynator.

josefpihrt avatar josefpihrt commented on May 19, 2024

@kieronlanning please see How to Configure Analyzers.

from roslynator.

kieronlanning avatar kieronlanning commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.