In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the method of automatically generating function comments and file header comments by vscode. I hope you will gain a lot after reading this article. Let's discuss it together.
1. Install the plug-in KoroFileHeader
2. Set up
Click the Settings button in the lower left corner of vscode, select "Settings", and then enter "fileheader"
File header comment: Fileheader:custom Made
Function comments: Fileheader:cursor Mode
Click any "edit in setting.json", enter the following settings and save, and then restart the vscode update settings
/ / File header notes "fileheader.customMade": {"Descripttion": "," version ":", "Author": "sueRimn", "Date": "Do not edit", "LastEditors": "sueRimn", "LastEditTime": "Do not Edit"}, / / function comment "fileheader.cursorMode": {"name": "" "test": "test font", "msg": "," param ":", "return": ""} 3. Use
(1) Notes in the header of the file
Shortcut key: crtl+alt+i (window)
The ctrl+cmd+t (mac) generation style is as follows:
(2) function comments
Shortcut key: ctrl+alt+t (window)
The comments of the ctrl+alt+t (mac) function are not necessarily generated in the header. You can control them yourself.
The generation style is as follows:
After reading this article, I believe you have a certain understanding of the method of automatically generating function comments and document header comments by vscode. Want to know more about it. Welcome to follow the industry information channel. Thank you for your reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.