Skip to content

Commit 353792c

Browse files
author
Kartik Raj
committed
Move interpreter display status bar item to the right
1 parent 27b1c8c commit 353792c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/client/interpreter/display/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class InterpreterDisplay implements IInterpreterDisplay {
3636
const application = serviceContainer.get<IApplicationShell>(IApplicationShell);
3737
const disposableRegistry = serviceContainer.get<Disposable[]>(IDisposableRegistry);
3838

39-
this.statusBar = application.createStatusBarItem(StatusBarAlignment.Left, 100);
39+
this.statusBar = application.createStatusBarItem(StatusBarAlignment.Right, 100);
4040
this.statusBar.command = 'python.setInterpreter';
4141
disposableRegistry.push(this.statusBar);
4242

src/test/interpreters/display.unit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ suite('Interpreters Display', () => {
8282
.returns(() => interpreterHelper.object);
8383
serviceContainer.setup((c) => c.get(TypeMoq.It.isValue(IPathUtils))).returns(() => pathUtils.object);
8484
applicationShell
85-
.setup((a) => a.createStatusBarItem(TypeMoq.It.isValue(StatusBarAlignment.Left), TypeMoq.It.isValue(100)))
85+
.setup((a) => a.createStatusBarItem(TypeMoq.It.isValue(StatusBarAlignment.Right), TypeMoq.It.isValue(100)))
8686
.returns(() => statusBar.object);
8787
pathUtils.setup((p) => p.getDisplayName(TypeMoq.It.isAny(), TypeMoq.It.isAny())).returns((p) => p);
8888
createInterpreterDisplay();

0 commit comments

Comments
 (0)