File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ const COMMON_EDITORS_OSX = {
5757 '/Applications/WebStorm.app/Contents/MacOS/webstorm' :
5858 '/Applications/WebStorm.app/Contents/MacOS/webstorm' ,
5959 '/Applications/MacVim.app/Contents/MacOS/MacVim' : 'mvim' ,
60+ '/Applications/GoLand.app/Contents/MacOS/goland' :
61+ '/Applications/GoLand.app/Contents/MacOS/goland' ,
6062} ;
6163
6264const COMMON_EDITORS_LINUX = {
@@ -72,6 +74,7 @@ const COMMON_EDITORS_LINUX = {
7274 sublime_text : 'sublime_text' ,
7375 vim : 'vim' ,
7476 'webstorm.sh' : 'webstorm' ,
77+ 'goland.sh' : 'goland' ,
7578} ;
7679
7780const COMMON_EDITORS_WIN = [
@@ -93,6 +96,8 @@ const COMMON_EDITORS_WIN = [
9396 'rubymine64.exe' ,
9497 'webstorm.exe' ,
9598 'webstorm64.exe' ,
99+ 'goland.exe' ,
100+ 'goland64.exe' ,
96101] ;
97102
98103function addWorkspaceToArgumentsIfExists ( args , workspace ) {
@@ -155,6 +160,8 @@ function getArgumentsForLineNumber(
155160 case 'rubymine64' :
156161 case 'webstorm' :
157162 case 'webstorm64' :
163+ case 'goland' :
164+ case 'goland64' :
158165 return addWorkspaceToArgumentsIfExists (
159166 [ '--line' , lineNumber , fileName ] ,
160167 workspace
You can’t perform that action at this time.
0 commit comments