Open karlhorky opened 1 month ago
You should be able to use per language settings to only enable rewrap on file types where you need it, or to disable it on txt files, which is what batch rename uses.
That sounds reasonable.
However, I use Rewrap on text files sometimes... 🤔
Would Batch Rename be open to using a different format? Eg. maybe some unrecognizable proprietary format like BatchRename
file format, to eliminate possible conflicts with other tooling that deals with Plain Text
files...
Hi @JannisX11, thanks for the amazing extension! Super helpful.
I am trying to use this while Rewrap is enabled with
"rewrap.onSave": true
.When I save the file (manual save, not an auto-save on loss of focus), Rewrap tries to wrap short lines onto the same line, causing chaos in the file for Batch Rename, which fails silently (no error message or easy way to debug).
Would there be a way to enable usage of Batch Rename with Rewrap using this setting?
My current workaround is to disable Rewrap and then re-enable it every time that I use Batch Rename, but I would like to avoid this extra friction if possible.
Eg.