如何在可视代码中注释reactjs标记代码?

时间:2019-06-27 10:28:41

标签: reactjs vscode-settings

有什么方法可以注释react js代码,尤其是在VS代码上进行标记。当我使用命令Ctrl+k,c时,它使用//来提交react标记。你能建议吗?

1 个答案:

答案 0 :(得分:1)

转到<select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <select> <option>yes</option> <option>no</option> </select> <div id="count"></div> <div id="percent"></div> 在设置File => Preferences => settings文件中查找修改并使用此命令

json

现在,您可以使用"files.associations": { "*.js": "typescriptreact" } 命令来评论react Ctrl+k,c的标记