A React/JSX syntax mode for Coda 2.
- Default JSX syntax mode is on the jsx branch.
- If you are using the JSX Control Statements please make use of the jsx-control-statements branch.
cd ~/Library/Application\ Support/Coda\ 2/Modes
git clone [email protected]:evanvosberg/JSX.mode
cd ~/Library/Containers/com.panic.Coda2/Data/Library/Application\ Support/Coda\ 2/Modes
git clone [email protected]:evanvosberg/JSX.mode
Remember that if you have a Modes directory you should move that aside in order to use this new one.
If you want to get the latest updates, you simply run git pull inside the Modes directory
cd ~/Library/Application\ Support/Coda\ 2/Modes/Javascript.mode
git pull
Or the following if you are running the sandboxed MAS version.
cd ~/Library/Containers/com.panic.Coda2/Data/Library/Application\ Support/Coda\ 2/Modes/Javascript.mode
git pull