Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
84299ceb
Commit
84299ceb
authored
7 years ago
by
Pete Nykänen
Committed by
Dan Abramov
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add Brackets to launchEditor.js (#2637)
parent
4edec9e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-dev-utils/launchEditor.js
+2
-0
packages/react-dev-utils/launchEditor.js
with
2 additions
and
0 deletions
+2
-0
packages/react-dev-utils/launchEditor.js
+
2
-
0
View file @
84299ceb
...
@@ -31,12 +31,14 @@ function isTerminalEditor(editor) {
...
@@ -31,12 +31,14 @@ function isTerminalEditor(editor) {
const
COMMON_EDITORS_OSX
=
{
const
COMMON_EDITORS_OSX
=
{
'
/Applications/Atom.app/Contents/MacOS/Atom
'
:
'
atom
'
,
'
/Applications/Atom.app/Contents/MacOS/Atom
'
:
'
atom
'
,
'
/Applications/Atom Beta.app/Contents/MacOS/Atom Beta
'
:
'
/Applications/Atom Beta.app/Contents/MacOS/Atom Beta
'
,
'
/Applications/Atom Beta.app/Contents/MacOS/Atom Beta
'
:
'
/Applications/Atom Beta.app/Contents/MacOS/Atom Beta
'
,
'
/Applications/Brackets.app/Contents/MacOS/Brackets
'
:
'
brackets
'
,
'
/Applications/Sublime Text.app/Contents/MacOS/Sublime Text
'
:
'
/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl
'
,
'
/Applications/Sublime Text.app/Contents/MacOS/Sublime Text
'
:
'
/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl
'
,
'
/Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
'
:
'
/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl
'
,
'
/Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
'
:
'
/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl
'
,
'
/Applications/Visual Studio Code.app/Contents/MacOS/Electron
'
:
'
code
'
,
'
/Applications/Visual Studio Code.app/Contents/MacOS/Electron
'
:
'
code
'
,
};
};
const
COMMON_EDITORS_WIN
=
[
const
COMMON_EDITORS_WIN
=
[
'
Brackets.exe
'
,
'
Code.exe
'
,
'
Code.exe
'
,
'
atom.exe
'
,
'
atom.exe
'
,
'
sublime_text.exe
'
,
'
sublime_text.exe
'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets