Skip to content
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

Make it possible to "auto-fix" documents #1519

Closed
RononDex opened this issue Jun 4, 2019 · 4 comments
Closed

Make it possible to "auto-fix" documents #1519

RononDex opened this issue Jun 4, 2019 · 4 comments

Comments

@RononDex
Copy link

RononDex commented Jun 4, 2019

Currently, omnisharp is not supporting "auto-fix" functionality to VSCode.

Implementing this functionality would lead to a very efficient way to produce clean code.

One possibility would be to add an action "omnisharp: fix document", have a setting in the vscode user json file like

"omnisharp.autofixactions": [
    "RemoveUnusedUsings",
    "SimplifyNames",
   ...
]
@filipw
Copy link
Member

filipw commented Jun 19, 2019

This will be possible once #1526 is merged. We'll then be able to add a fix endpoint that fixes everything according to .editorconfig settings.

@RononDex
Copy link
Author

Perfect, thanks!

@savpek
Copy link
Contributor

savpek commented Jul 17, 2019

Currently working on this, may be few weeks before i push PR though.

@savpek savpek mentioned this issue Dec 5, 2019
4 tasks
@filipw
Copy link
Member

filipw commented Sep 1, 2020

fixed by #1581

@filipw filipw closed this as completed Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants