use console to open sublime text code example
Example 1: open sublime text using terminal
//create new folder using terminal or open any existing
npx create-react-app newapp
//newapp is new folder. now open it
cd newapp
//now run following code
sublime .
//your folder will open in visual studio code. for sublime enter follwing code
code .
Example 2: what is console in sublime text
{
"cmd" : ["gcc", "$file", "-o", "$file_base_name"],
"cmd" : ["$file_base_name"],
"selector" : "source.c",
"shell" : true,
"working_dir" : "$file_path"
}