Hi, could you add trimming of trailing whitespace to the document formatter? (Black for python does that for example).
It's an option for VS Code (enable automatic trimming of trailing whitespace on save), but I just want this to be done when I am formatting the file (manually), not on every save, hence the feature request. I can write a simple macro that combines these features, but again, I think it would be best if this was part of the DocumentFormatter since it's part of good formatting.
Hi, could you add trimming of trailing whitespace to the document formatter? (Black for python does that for example).
It's an option for VS Code (enable automatic trimming of trailing whitespace on save), but I just want this to be done when I am formatting the file (manually), not on every save, hence the feature request. I can write a simple macro that combines these features, but again, I think it would be best if this was part of the DocumentFormatter since it's part of good formatting.