You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's reasonable to want to use ktlint as a filter, reading Kotlin code on stdin and writing the correctly formatted version to stdout. Many other auto-formatters work this way, and it's important to be able to call out to ktlint from editors like Emacs and vim.
The separately reported issue to allow a --path=... with --stdin would complement this well.
Current Behavior
ktlint -F --stdin produces no output.
Additional information
Current version of ktlint: 0.46.1
The text was updated successfully, but these errors were encountered:
Expected Behavior
It's reasonable to want to use ktlint as a filter, reading Kotlin code on stdin and writing the correctly formatted version to stdout. Many other auto-formatters work this way, and it's important to be able to call out to ktlint from editors like Emacs and vim.
The separately reported issue to allow a --path=... with --stdin would complement this well.
Current Behavior
ktlint -F --stdin produces no output.
Additional information
The text was updated successfully, but these errors were encountered: