When writing code, we sometimes give spaces and move to a new line leaving spaces on an empty line or leave trailing space in the line which have some code.
Either way trailing spaces are ugly, and while committing Git gives warning of trailing spaces.
Option "Format Document" in vscode should remove these trailing spaces.
Tried giving command to Co-Pilot, but strangely for Co-Pilot this question was like "What !!!", it didn't do anything.
Opened as separate case for Co-Pilot here microsoft/vscode#264154
Is it possible to enhance autopep8 to do this?
When writing code, we sometimes give spaces and move to a new line leaving spaces on an empty line or leave trailing space in the line which have some code.
Either way trailing spaces are ugly, and while committing Git gives warning of trailing spaces.
Option "Format Document" in vscode should remove these trailing spaces.
Tried giving command to Co-Pilot, but strangely for Co-Pilot this question was like "What !!!", it didn't do anything.
Opened as separate case for Co-Pilot here microsoft/vscode#264154
Is it possible to enhance autopep8 to do this?