GithubHelp home page GithubHelp logo

nyjin / resharper.autoformatonsave Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pedropombeiro/resharper.autoformatonsave

0.0 0.0 0.0 49 KB

An addin for Visual Studio which causes the documents to be reformated on save

Home Page: http://blog.pedropombeiro.com/keeping-code-formatted-the-easy-way/

License: MIT License

C# 100.00%

resharper.autoformatonsave's Introduction

ReSharper.AutoFormatOnSave

Keeping code formatted the easy way

If you’re like me, you prefer to have your code tidy, and being a lazy guy, you have defined a ReSharper Code Cleanup template. The problem however, is that you might forget to run the Code Cleanup command every time you change the file. So I decided to go ahead and automate that by building a Visual Studio extension which will run the Silent Code Cleanup command every time a file in a solution is saved.

Installing ReSharper.AutoFormatOnSave via Visual Studio Extension Manager

The profile to use is defined in the box signaled below (ReSharper 6.1 shown here):

Choosing a default code format profile in ReSharper

The addin should be compatible with Visual Studio 2010 or later as well as any version of ReSharper.

resharper.autoformatonsave's People

Contributors

salfab avatar lotosbin avatar bartecargo avatar bentolor avatar jaytonic avatar ifandelse avatar

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.