I wanted to be more refer to links while writing comments for the code I have written, that explains some description about the method used. It could be anything like images or a url that explains a concept etc.
I have been finding ways to do this, but was unable to find on anything on my own. Can you help me on how to add a clickable link to comments in vscode?
Question posted in Javascript
A very good W3school tutorial can be found here.
A very good W3school tutorial can be found here.
2
Answers
Once try JSDoc comment or any inline comment starting with /** and ends with */ . For instance:
/**
*
*
*/
/* https://www.w3schools.com/css/css_comments.asp crtl&click the link!*/.