amir9480 / vscode-cpp-helper

vscode extension to create implementation for c++ function prototypes.
https://marketplace.visualstudio.com/items?itemName=amiralizadeh9480.cpp-helper
MIT License
355 stars 31 forks source link

Create Implementation leaves trailing space on signature of implementation #47

Closed kipyminyman closed 2 years ago

kipyminyman commented 2 years ago

Generated implementations look like

void Foo::testFunc() // there is a space here (bad)
{

}

when they should look like

void Foo::testFunc()// there is no space here (good)
{

}
amir9480 commented 2 years ago

Fixed on v 0.3.1.

With this setting, all my source codes always don't have trailing space, and never noticed this issue.

"files.trimTrailingWhitespace": true,