We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
写好代码注释,可以很大程度上增强代码可读性。 所以我将在这个issue记录关于注释的知识和实践。
参考资料: https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments https://github.com/fex-team/styleguide/blob/master/javascript.md#24-%E6%B3%A8%E9%87%8A https://github.com/airbnb/javascript#comments https://zh-google-styleguide.readthedocs.io/en/latest/google-cpp-styleguide/comments/
The text was updated successfully, but these errors were encountered:
Better Comments是一款vscode插件,可以使得我们的注释更加human-friendly。 它主要将注释分为以下几类:
*
!
?
TODO:
@param
可以通过/** **/和//两种方式包裹注释。 除此之外,它还包括:已注释代码加横线,高亮注释。
/** **/
//
Sorry, something went wrong.
No branches or pull requests
写好代码注释,可以很大程度上增强代码可读性。
所以我将在这个issue记录关于注释的知识和实践。
参考资料:
https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments
https://github.com/fex-team/styleguide/blob/master/javascript.md#24-%E6%B3%A8%E9%87%8A
https://github.com/airbnb/javascript#comments
https://zh-google-styleguide.readthedocs.io/en/latest/google-cpp-styleguide/comments/
The text was updated successfully, but these errors were encountered: