Skip to content

Commit

Permalink
Add vscodium to the editor list (#7028)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardodino authored and iansu committed Aug 8, 2019
1 parent cb2c720 commit b225842
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/react-dev-utils/launchEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const COMMON_EDITORS_OSX = {
'/Applications/Visual Studio Code.app/Contents/MacOS/Electron': 'code',
'/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron':
'code-insiders',
'/Applications/VSCodium.app/Contents/MacOS/Electron': 'vscodium',
'/Applications/AppCode.app/Contents/MacOS/appcode':
'/Applications/AppCode.app/Contents/MacOS/appcode',
'/Applications/CLion.app/Contents/MacOS/clion':
Expand All @@ -66,6 +67,7 @@ const COMMON_EDITORS_LINUX = {
Brackets: 'brackets',
code: 'code',
'code-insiders': 'code-insiders',
vscodium: 'vscodium',
emacs: 'emacs',
gvim: 'gvim',
'idea.sh': 'idea',
Expand All @@ -82,6 +84,7 @@ const COMMON_EDITORS_WIN = [
'Brackets.exe',
'Code.exe',
'Code - Insiders.exe',
'VSCodium.exe',
'atom.exe',
'sublime_text.exe',
'notepad++.exe',
Expand Down Expand Up @@ -150,6 +153,8 @@ function getArgumentsForLineNumber(
case 'Code':
case 'code-insiders':
case 'Code - Insiders':
case 'vscodium':
case 'VSCodium':
return addWorkspaceToArgumentsIfExists(
['-g', fileName + ':' + lineNumber + ':' + colNumber],
workspace
Expand Down

0 comments on commit b225842

Please sign in to comment.