Commit 85bf3a93 authored by shrynx's avatar shrynx Committed by Dan Abramov
Browse files

added code-insiders to the editor list (#3652)

parent 5a0b1ef5
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 4 additions and 0 deletions
+4 -0
......@@ -64,6 +64,7 @@ const COMMON_EDITORS_LINUX = {
atom: 'atom',
Brackets: 'brackets',
code: 'code',
'code-insiders': 'code-insiders',
emacs: 'emacs',
'idea.sh': 'idea',
'phpstorm.sh': 'phpstorm',
......@@ -77,6 +78,7 @@ const COMMON_EDITORS_LINUX = {
const COMMON_EDITORS_WIN = [
'Brackets.exe',
'Code.exe',
'Code - Insiders.exe',
'atom.exe',
'sublime_text.exe',
'notepad++.exe',
......@@ -127,6 +129,8 @@ function getArgumentsForLineNumber(editor, fileName, lineNumber, workspace) {
return ['--line', lineNumber, fileName];
case 'code':
case 'Code':
case 'code-insiders':
case 'Code - Insiders':
return addWorkspaceToArgumentsIfExists(
['-g', fileName + ':' + lineNumber],
workspace
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment