Skip to content

Commit

Permalink
Fix #123360
Browse files Browse the repository at this point in the history
  • Loading branch information
lramos15 committed May 12, 2021
1 parent a53919b commit dbc2166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/editor/editorCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ function registerOpenEditorAPICommands(): void {
group = editorGroupsService.getGroup(viewColumnToEditorGroup(editorGroupsService, columnArg)) ?? editorGroupsService.activeGroup;
}

return editorService.openEditor({ resource: URI.revive(resource), options: { ...optionsArg, override: id } }, group);
return editorService.openEditor({ resource: URI.revive(resource), options: { ...optionsArg, pinned: true, override: id } }, group);
});
}

Expand Down

0 comments on commit dbc2166

Please sign in to comment.