How to invoke Formatter from CLI #1305
Answered
by
msujew
jiashengguo
asked this question in
Q&A
-
I have already implemented my AbstractFormatter in the language server. How to invoke it from the CLI? |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Nov 28, 2023
Replies: 1 comment 1 reply
-
@jiashengguo You can invoke the formatter programmatically and apply the changes that it generates to the specified document. See our formatter test functions on how to do that. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jiashengguo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jiashengguo You can invoke the formatter programmatically and apply the changes that it generates to the specified document. See our formatter test functions on how to do that.