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
Sometimes - one trigger is a space before a newline, but there seem to be others as well - my "document here" in YAML (Dockerfiles, shell scripts, etc.) get "reformatted" into a long string containing \n and other escape sequences.
Like
foo: | this is "a" text # with comments
and after reloading I get
foo: "this is \"a\"\ntext\n# with comments"
Needless to say, this is awful to work with.
So I'd like to ask for a keybinding that reformats the current element to the nice form above.
If Kapply detects trailing whitespace it would be great if it asked whether to remove it, abort, or ignore, as well ; )
The text was updated successfully, but these errors were encountered:
Sometimes - one trigger is a space before a newline, but there seem to be others as well - my "document here" in YAML (Dockerfiles, shell scripts, etc.) get "reformatted" into a long string containing
\n
and other escape sequences.Like
and after reloading I get
Needless to say, this is awful to work with.
So I'd like to ask for a keybinding that reformats the current element to the nice form above.
If
Kapply
detects trailing whitespace it would be great if it asked whether to remove it, abort, or ignore, as well ; )The text was updated successfully, but these errors were encountered: