microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
scripts/atom.cmd
17lines · modeblame
514df4f4Patricio Beltran10 years ago | 1 | :: This script is called 'atom' to surpass the react-native |
| 2 | :: editor selection. It has nothing to do with the atom editor. | |
| 3 | :: It can be safetly removed when the PR to support vscode in | |
| 4 | :: react native gets accepted: | |
| 5 | :: https://github.com/facebook/react-native/pull/7757 | |
| 6 | :: | |
| 7 | :: Usage: | |
| 8 | :: ../path/atom.cmd filename:filenumber | |
| 9 | | |
| 10 | :: Windows | |
| 11 | @echo off | |
| 12 | | |
| 13 | IF [%1] == [] ( | |
| 14 | echo "Missing filename." | |
| 15 | exit 1 | |
| 16 | ) | |
| 17 | node "%~dp0..\out\extension\openFileAtLocation.js" "%1" |