@@ -38,6 +38,22 @@ const COMMON_EDITORS_OSX = {
38
38
'/Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2' :
39
39
'/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl' ,
40
40
'/Applications/Visual Studio Code.app/Contents/MacOS/Electron' : 'code' ,
41
+ '/Applications/AppCode.app/Contents/MacOS/appcode' :
42
+ '/Applications/AppCode.app/Contents/MacOS/appcode' ,
43
+ '/Applications/CLion.app/Contents/MacOS/clion' :
44
+ '/Applications/CLion.app/Contents/MacOS/clion' ,
45
+ '/Applications/IntelliJ IDEA.app/Contents/MacOS/idea' :
46
+ '/Applications/IntelliJ IDEA.app/Contents/MacOS/idea' ,
47
+ '/Applications/PhpStorm.app/Contents/MacOS/phpstorm' :
48
+ '/Applications/PhpStorm.app/Contents/MacOS/phpstorm' ,
49
+ '/Applications/PyCharm.app/Contents/MacOS/pycharm' :
50
+ '/Applications/PyCharm.app/Contents/MacOS/pycharm' ,
51
+ '/Applications/PyCharm CE.app/Contents/MacOS/pycharm' :
52
+ '/Applications/PyCharm CE.app/Contents/MacOS/pycharm' ,
53
+ '/Applications/RubyMine.app/Contents/MacOS/rubymine' :
54
+ '/Applications/RubyMine.app/Contents/MacOS/rubymine' ,
55
+ '/Applications/WebStorm.app/Contents/MacOS/webstorm' :
56
+ '/Applications/WebStorm.app/Contents/MacOS/webstorm' ,
41
57
} ;
42
58
43
59
const COMMON_EDITORS_WIN = [
@@ -46,6 +62,18 @@ const COMMON_EDITORS_WIN = [
46
62
'atom.exe' ,
47
63
'sublime_text.exe' ,
48
64
'notepad++.exe' ,
65
+ 'clion.exe' ,
66
+ 'clion64.exe' ,
67
+ 'idea.exe' ,
68
+ 'idea64.exe' ,
69
+ 'phpstorm.exe' ,
70
+ 'phpstorm64.exe' ,
71
+ 'pycharm.exe' ,
72
+ 'pycharm64.exe' ,
73
+ 'rubymine.exe' ,
74
+ 'rubymine64.exe' ,
75
+ 'webstorm.exe' ,
76
+ 'webstorm64.exe' ,
49
77
] ;
50
78
51
79
function addWorkspaceToArgumentsIfExists ( args , workspace ) {
@@ -65,9 +93,7 @@ function getArgumentsForLineNumber(editor, fileName, lineNumber, workspace) {
65
93
case 'sublime' :
66
94
case 'sublime_text' :
67
95
case 'wstorm' :
68
- case 'appcode' :
69
96
case 'charm' :
70
- case 'idea' :
71
97
return [ fileName + ':' + lineNumber ] ;
72
98
case 'notepad++' :
73
99
return [ '-n' + lineNumber , fileName ] ;
@@ -87,12 +113,19 @@ function getArgumentsForLineNumber(editor, fileName, lineNumber, workspace) {
87
113
[ '-g' , fileName + ':' + lineNumber ] ,
88
114
workspace
89
115
) ;
90
- case 'webstorm' :
91
- case 'webstorm64' :
116
+ case 'appcode' :
117
+ case 'clion' :
118
+ case 'clion64' :
119
+ case 'idea' :
120
+ case 'idea64' :
92
121
case 'phpstorm' :
93
122
case 'phpstorm64' :
94
123
case 'pycharm' :
95
124
case 'pycharm64' :
125
+ case 'rubymine' :
126
+ case 'rubymine64' :
127
+ case 'webstorm' :
128
+ case 'webstorm64' :
96
129
return addWorkspaceToArgumentsIfExists (
97
130
[ '--line' , lineNumber , fileName ] ,
98
131
workspace
0 commit comments