DEV Community

Discussion on: Improve your productivity when working with React by making these changes in Visual Studio Code

 
naingaungphyo profile image
Naing Aung Phyo

Yeah it is working after saving a file. But what I wanted is to add semicolon just immediately after using snippets.

Thread Thread
 
myogeshchavan97 profile image
Yogesh Chavan

You add all the snippets you want on separate line as I have shown in the gif in the article and finally when you save the file, semicolons will be added automatically.

I have also updated the article just now, for the steps to enable the semicolons under "Automatically add a semicolon at the end of the line" section

Thread Thread
 
naingaungphyo profile image
Naing Aung Phyo

I mean, I want to add semicolon before saving the file.

Thread Thread
 
myogeshchavan97 profile image
Yogesh Chavan

The snippets extension does not add the semicolon automatically so you need to save the file to add the semicolons

Thread Thread
 
naingaungphyo profile image
Naing Aung Phyo

Yeah, looks like that is the only possible way. Thanks for your sincere replies.