microsoft/vscode-react-native

Public

mirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
f521686613075eb4a9cebc89a01cbcf289ec258f

Branches

Tags

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

Clone

HTTPS

Download ZIP

scripts/atom

22lines · modecode

1#!/bin/node
2
3/*
4 This script is called 'atom' to surpass the react-native
5 editor selection. It has nothing to do with the atom editor.
6 It can be safetly removed when the PR to support vscode in
7 react native gets accepted:
8 https://github.com/facebook/react-native/pull/7757
9
10 Usage:
11 atom filename:linenumber
12 or
13 atom path/to/workspace/root filename:linenumber
14
15*/
16
17if (process.argv.length < 3) {
18 console.error("Missing filename");
19 process.exit(1);
20}
21
22require("../src/extension/openFileAtLocation");
23