bragefuglseth/keypunch

[Suggestion]: Automatic skipping of whitespaces (and tabs) at the beginning of a new line

Closed this issue · 1 comments

Is your suggestion related to a problem? Please describe.
I just tried out this app and used a custom text, which was some code. The only problem is that the text editors of today will auto-indent the new lines we type in, but the whitespaces at the beginning of the line aren't skipped.
So if you train yourself on code, you have to spam the spacebar until you can continue with writing the code.

Describe the solution you'd like
The solution would be to skip any whitespaces or tabs at the beginning of a new line, as those are probably indentation in programs.

Describe alternatives you've considered
Nothing.

Additional context
Nothing.

Thanks for the suggestion! I understand how this can be frustrating, especially considering that the app doesn't highlight leading/trailing whitespace. The simplest solution is to automatically trim each line of the custom text before it's applied anywhere. I'll look into doing that.