-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Formatting #17
Comments
It's definitely on my list of stuff to do. Should be pretty straightforward. I added the C# indent file yesterday that helps somewhat with Vim's built in = indenting... but it doesn't have all the capabilities of NRefactory. |
Would Omnisharp provide significant better formatting than astyle does? |
I'm not sure that it would.... but it seems to me that seeing as we already have NRefactory installed, we may as well use it. It isn't much code for me to add to OmniSharp and it removes the astyle dependency. |
Okay, sounds reasonable. When its implemented I may consider integration into vim-autoformat. (https://github.com/Chiel92/vim-autoformat) |
I added a code formatter command. It's currently hard coded to format the same way that VS does it. Let me know if this will do for now. Probably no time to spend on this until next week. |
Great! I will try it out |
I can confirm that this works quite well for my purposes. |
Closing for now, it does what I need. |
Is there plans to add a hook to trigger NRefactory code formatting? I saw no mention of it in the TODO list so I thought I'd mention it.
The text was updated successfully, but these errors were encountered: