Skip to content

Run on save being disabled in Rider plugin causes toil #1739

@martindisch

Description

@martindisch

We're very happily using CSharpier in a large engineering organization. We have many .NET services living in different repositories, meaning the average developer is regularly checking out new repos. "Run on save" is disabled by default in the Rider plugin and it uses Rider's layered configuration, so settings are only stored per solution and it's not possible to globally enable run on save once and forever.

For us this means we regularly have developers committing unformatted code when they check out a new repository and forget to enable run on save. These mistakes are caught in CI, but they happen frequently and lead to unnecessary frustration.

I see two ways to make this a better experience:

  1. Enable run on save by default. This makes sense to me, because I expect most people installing a code formatter plugin would want it to automatically format their code. It's also incredibly easy to implement, so I made a PR in case you think this would be a good idea Enable run on save by default in Rider plugin #1738
  2. Make it possible to globally configure the plugin, not only on a solution level. I'm not familiar with how the layered configuration has to be implemented to allow this.

Thanks for this amazing tool, it's a great developer experience booster :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions