Skip to content

Commit

Permalink
fix(related-file): add editor column index when opening related file (#…
Browse files Browse the repository at this point in the history
…57)

related files should be opened in the same editor column or pane as the
sibling file

resolves issue #51
  • Loading branch information
hfitzwater authored and Erik Lieben committed Dec 10, 2017
1 parent 8155816 commit 70875d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/relatedFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class RelatedFiles implements Disposable {
}

if (relatedFile) {
commands.executeCommand('vscode.open', Uri.file(relatedFile));
commands.executeCommand('vscode.open', Uri.file(relatedFile), editor.viewColumn);
}
}

Expand Down

0 comments on commit 70875d2

Please sign in to comment.