Go to File --> Preferences --> User Snippets. Select your preferred language.Now typethe following code to make a for loop snippet: "Create for loop":{ "prefix": "for", "body":[ "for(int i =0; i <10; i++)","{"," //code goes here","}" ],"description": "Creates a for loop" }