microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
2a2a4f72fa411361cbf3aabf879beeca349cd868

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

scripts/atom

22lines · modeblame

0fc1f1deJimmy Thomson9 years ago1#!/bin/node
514df4f4Patricio Beltran10 years ago2
0fc1f1deJimmy Thomson9 years ago3/*
4This script is called 'atom' to surpass the react-native
5editor selection. It has nothing to do with the atom editor.
6It can be safetly removed when the PR to support vscode in
7react native gets accepted:
8https://github.com/facebook/react-native/pull/7757
514df4f4Patricio Beltran10 years ago9
0fc1f1deJimmy Thomson9 years ago10Usage:
11atom filename:linenumber
12or
13atom path/to/workspace/root filename:linenumber
514df4f4Patricio Beltran10 years ago14
0fc1f1deJimmy Thomson9 years ago15*/
16
17if (process.argv.length < 3) {
18console.error("Missing filename");
19process.exit(1);
20}
21
678db279Artem Egorov8 years ago22require("../src/extension/openFileAtLocation");