Skip to content

Commit e9f4cb9

Browse files
committed
Merge pull request #667 from d3xter/configuration_name
Use the file-name without the extension for new RunConfigurations
2 parents 0f1a954 + b35fcb2 commit e9f4cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ro/redeul/google/go/runner/GoApplicationConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public RunProfileState getState(@NotNull Executor executor, @NotNull ExecutionEn
133133
@Override
134134
public String suggestedName() {
135135
try {
136-
return scriptName.equals("") ? "go run" : GoSdkUtil.getVirtualFile(scriptName).getName();
136+
return scriptName.equals("") ? "go run" : GoSdkUtil.getVirtualFile(scriptName).getNameWithoutExtension();
137137
} catch (NullPointerException ignored) {
138138
return "go run";
139139
}

0 commit comments

Comments
 (0)