Sunday, January 30, 2022

VisualStudio Code Beginner's Tip

 Developer's working in any programming language, using correct and convenient IDE saves lots of Time and Effort. Till now for Java, Eclipse is a lifesaver for me.
When I start with JavaScript  I Chose Visual Studio Code. 

The first time I tried to use Selenium with JavaScript, it took me a few minutes to figure out why my code wasn’t working. I discovered that it was because hadn't saved the file before running it.

Then realised that Visual Studio Code by default doesn't save files until I  manually save them. 

Here is how you can enable AutoSave mode in Visual Studio Code  in Mac OS 

1. Click  Code->Preference ->Settings
2. In the Search Panel search for "autosave"


3. In the "Auto Save" dropdown (by default "off" is selected), Select "afterDelay".

Success. Now after every edit, no need to click File-> Save.



 



No comments:

Post a Comment