running sublime text from terminal 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

Example 3: how do i run code in sublime text

for javascipt, command B doesn't seem to work for me.
It does work for python programmers though. To code, 
I use Processing.

Tags:

Misc Example