We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, when formatOnType is enabled Calva does only indenting. And it only happens when new lines are entered.
We should have an option where the text is formatted as when new lines are entered, e.g.:
(def colt-express {:name "Colt Express" :categories ["Family" "Strategy"] :play-time 40 :ratings |{:pez 5.0 :kat 5.0 :wiw 5.0 :vig 3.0 :rex 5.0 :lun 4.0}})
enter =>
Saving you one reason to press tab to format it after you have entered the new line.
tab
It should also work as text is entered and deleted more generally. E.g. (the two vertical bars indicating a selection):
(def colt-express {:name "Colt Express" :categories ["Family" "Strategy"] :play-time 40 :ratings|-foo-bar| {:pez 5.0 :kat 5.0 :wiw 5.0 :vig 3.0 :rex 5.0 :lun 4.0}})
backspace =>
(def colt-express {:name "Colt Express" :categories ["Family" "Strategy"] :play-time 40 :ratings| {:pez 5.0 :kat 5.0 :wiw 5.0 :vig 3.0 :rex 5.0 :lun 4.0}})
This has further implications and corner cases and such, but this should capture the gist of the feature.
The text was updated successfully, but these errors were encountered:
OK. So I forgot to close this via the PR.
Sorry, something went wrong.
No branches or pull requests
Currently, when formatOnType is enabled Calva does only indenting. And it only happens when new lines are entered.
We should have an option where the text is formatted as when new lines are entered, e.g.:
enter =>
Saving you one reason to press
tab
to format it after you have entered the new line.It should also work as text is entered and deleted more generally. E.g. (the two vertical bars indicating a selection):
backspace =>
This has further implications and corner cases and such, but this should capture the gist of the feature.
The text was updated successfully, but these errors were encountered: