Skip to content

Commit

Permalink
Merge pull request #235533 from adrianstephens/custom-editor-preview
Browse files Browse the repository at this point in the history
custom editor preview
  • Loading branch information
mjbvz authored Dec 17, 2024
2 parents 73bd88e + 831c959 commit 648def3
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 @@ -494,7 +494,7 @@ function registerOpenEditorAPICommands(): void {

const [columnArg, optionsArg] = columnAndOptions ?? [];

await editorService.openEditor({ resource: URI.from(resource, true), options: { ...optionsArg, pinned: true, override: id } }, columnToEditorGroup(editorGroupsService, configurationService, columnArg));
await editorService.openEditor({ resource: URI.from(resource, true), options: { pinned: true, ...optionsArg, override: id } }, columnToEditorGroup(editorGroupsService, configurationService, columnArg));
});

// partial, renderer-side API command to open diff editor
Expand Down

0 comments on commit 648def3

Please sign in to comment.