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

There is no formatter for 'routeros' files installed. #3

Open
tysonclugg opened this issue May 28, 2020 · 1 comment
Open

There is no formatter for 'routeros' files installed. #3

tysonclugg opened this issue May 28, 2020 · 1 comment

Comments

@tysonclugg
Copy link

It would be helpful if this extension could help us format our RouterOS scripts. I tried formatting a script using this extension, but an error with the subject of this issue was shown instead of my script being formatted.

https://code.visualstudio.com/blogs/2016/11/15/formatters-best-practices

To summarize, an extension that implements the formatting extension API properly will do the following:

  1. Register formatters via registerDocumentFormattingEditProvider.
  2. Implement the formatting logic per the DocumentFormattingEditProvider interface.
  3. Have a setting to enable / disable the formatter.
  4. Add the "Formatters" category to the extension manifest.
@cperezabo
Copy link
Owner

Can you collaborate with some code? I have no time to do this right now!

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