Skip to content

Conversation

@HO-COOH
Copy link

@HO-COOH HO-COOH commented Mar 17, 2021

Please note that most of the previous snippets already existed in vscode-cpp-tools. If user install both extensions, it will create new entries with duplicate names, which could be quite confusing. Consider delete them

"body": [
"int main(int argc, const char** argv) {",
" return 0;",
"int main(int argc, const char** argv)",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is rather a preference change and not a "fix"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I just got notified after 4 years of PR? 😄

As for this change, you can see in all other snippets, { is placed on a new line, so should this one. return 0; is optional so I placed a placeholder for actual logic. You can tab complete and type it yourself, or type whatever logic. This project should be long dead anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants