Skip to content

Commit

Permalink
Merge pull request ex3ndr#21 from TheMcSebi/main
Browse files Browse the repository at this point in the history
Open extension settings on tray button click
  • Loading branch information
ex3ndr authored Jan 16, 2024
2 parents 77cb1f5 + ae7db70 commit 0692cba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export function activate(context: vscode.ExtensionContext) {
// Create status bar
const openSettings = 'llama.openSettings';
context.subscriptions.push(vscode.commands.registerCommand(openSettings, () => {
// const n = getNumberOfSelectedLines(vscode.window.activeTextEditor);
// vscode.window.showInformationMessage(`Yeah, ${n} line(s) selected... Keep going!`);
vscode.commands.executeCommand('workbench.action.openSettings', '@ext:ex3ndr.llama-coder');
}));
let statusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Right, 100);
statusBarItem.command = openSettings;
Expand Down

0 comments on commit 0692cba

Please sign in to comment.