microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
1c95903252fe6e7254eb74d73ff613baaa4610ed

Branches

Tags

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

Clone

HTTPS

Download ZIP

scripts/atom

22lines · modepreview

#!/bin/node

/*
 This script is called 'atom' to surpass the react-native
 editor selection. It has nothing to do with the atom editor.
 It can be safetly removed when the PR to support vscode in
 react native gets accepted:
 https://github.com/facebook/react-native/pull/7757

 Usage:
 atom filename:linenumber
 or
 atom path/to/workspace/root filename:linenumber

*/

if (process.argv.length < 3) {
    console.error("Missing filename");
    process.exit(1);
}

require("../src/extension/openFileAtLocation");