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

Use formatter integration API #2

Closed
jrieken opened this issue Oct 25, 2016 · 1 comment
Closed

Use formatter integration API #2

jrieken opened this issue Oct 25, 2016 · 1 comment

Comments

@jrieken
Copy link

jrieken commented Oct 25, 2016

In VS Code there is special API for integrating formatters. Take a look at registerDocumentFormattingEditProvider and registerDocumentRangeFormattingEditProvider. When using these functions to register a formatter, it will be called from the context menu format actions, the default keybindings, and they will automatically be part of the format on save feature. Migrating to that API should be simple and I there to answer questions

@mike7515
Copy link
Owner

mike7515 commented Nov 7, 2016

Fixed it.
Thanks so much.

@mike7515 mike7515 closed this as completed Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants