View Sourceimport { getEditorLink } from 'utils'

getEditorLink

Opens the source file in the respective IDE. Forked from: https://github.com/siddharthkp/babel-plugin-open-source

EditorLinkOptions

path
string

Path of the file to be opened.

line
number

Line to be focused.

column
number

Column to be focused.

editor
"sublime" | "phpstorm" | "atom" | "vscode-insiders" | "vscode"

The IDE the file should be opened in.