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