Skip to content

Commit

Permalink
always move activity bar to top (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: himanshu <[email protected]>
  • Loading branch information
Himanshu-Singh-Chauhan and himanshu authored Oct 22, 2024
1 parent bd2ca82 commit fef33e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extensions/vscode/src/activation/activate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,13 @@ const setupPearAPPLayout = () => {
// * always * move pearai extension to auxiliary bar (secondary side bar)
vscode.commands.executeCommand("workbench.action.movePearExtensionToAuxBar");

// set activity bar position to top
vscode.commands.executeCommand("workbench.action.activityBarLocation.top");

// Apply the remaining layout settings only on the first launch
if (isFirstLaunch) {
return;
}

// set activity bar position to top
vscode.commands.executeCommand("workbench.action.activityBarLocation.top");
// first launch layout settings here.
};

0 comments on commit fef33e4

Please sign in to comment.