pedropombeiro / ReSharper.AutoFormatOnSave

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/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File extensions to run on

shawng opened this issue · comments

Is there a way to configure this to run on other file extensions besides .cs/.vb? For example it doesn't appear to auto-format .js files on save, even though Reformat Code is checked under Javascript in the ReSharper Code Cleanup profile settings. Same thing with .css files.

It this isn't configurable, can you add support for .js and .css extensions?

Even better would be a way to configure the file extensions or use the active ReSharper Code Cleanup profile settings to determine which file types it should run on.

I'm also interested in using this for js files - any word on if this is something you could add?

@pombeirp - FWIW, I forked and updated the extension list here - however, I'm using VS 2013 and it upgraded the project. If you're OK with a PR that includes an upgraded project (you'd have to use 2013, etc.), then let me know and I'll submit one.

Sure Jim, it makes sense to at least support the most recent VS. Thanks for
taking care of it!

2014-09-10 18:32 GMT+02:00 Jim Cowart notifications@github.com:

@pombeirp https://github.com/PombeirP - FWIW, I forked and updated the
extension list here
https://github.com/LeanKit-Labs/ReSharper.AutoFormatOnSave - however,
I'm using VS 2013 and it upgraded the project. If you're OK with a PR that
includes an upgraded project (you'd have to use 2013, etc.), then let me
know and I'll submit one.


Reply to this email directly or view it on GitHub
#8 (comment)
.