-
Notifications
You must be signed in to change notification settings - Fork 18
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
How to format code #35
Comments
It seems that this function does not exist in the CodeMirror standard, but it seems possible to do it by implementing the process described on the following site. https://discuss.codemirror.net/t/adding-indentation/5622/7 In this program, I think you can do this by putting this function in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to format selected code (or auto format after save or after setValue).
The solutions i found is to use
indentLine
. But when i print the reference of CodeMirror Component, there's no methodindentLine
.The text was updated successfully, but these errors were encountered: