Reputation: 21
Is there any way to comment react js
code especially mark up on VS
code. When i use command Ctrl+k,c
it uses //
to commit the react markup. can you please suggest?
Upvotes: 1
Views: 141
Reputation: 21
Go to File => Preferences => settings
Find edit in setting json
file and use this command
"files.associations": {
"*.js": "typescriptreact"
}
Now you can use Ctrl+k,c
command to comment markup of react js
Upvotes: 1