how to open sublime from text editor 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: how to run your code in sublime text
Step1: Go to tool this is loacted at the top
Step2: click build
Shorcut: a shortcut to run it is ctrl+b