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

Trailing comment symbol "//" #31

Closed geophysicsQC closed 2 years ago

geophysicsQC commented 3 years ago

Hi, I came across this issue when declaration is on different lines with trailing comment session, the implementation created has numerous trailing backslash "//" for those lines. Please take a look at this example: image

geophysicsQC commented 3 years ago

I think a good behavior for the generator should be either remove all trailing "//" or copying the original comment sessions.

amir9480 commented 3 years ago

Hi @geophysicsQC

As I use the Doxygen style standard for commenting methods I never faced this kind of issue I fix this as soon as I could

geophysicsQC commented 3 years ago

Hi,

I usually will use Doxygen style just came across some old codes that do this type of thing frequently. It should not be a deal breaker for me but would be good if you can take a look.

Thanks very much!

Chen

On Mon, May 3, 2021 at 2:08 PM amir @.***> wrote:

Hi @geophysicsQC https://github.com/geophysicsQC

As I use the Doxygen https://www.doxygen.nl/manual/docblocks.html style standard for commenting methods I never faced this kind of issue I fix this as soon as I could

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/amir9480/vscode-cpp-helper/issues/31#issuecomment-831470008, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6P5WKT22YN4IPTKWFJQMTTL3YBRANCNFSM44A7TSAQ .