Skip to content

Commit ae7db70

Browse files
committed
Open extension settings on tray button click
1 parent a0b0c25 commit ae7db70

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/extension.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ export function activate(context: vscode.ExtensionContext) {
1111
// Create status bar
1212
const openSettings = 'llama.openSettings';
1313
context.subscriptions.push(vscode.commands.registerCommand(openSettings, () => {
14-
// const n = getNumberOfSelectedLines(vscode.window.activeTextEditor);
15-
// vscode.window.showInformationMessage(`Yeah, ${n} line(s) selected... Keep going!`);
14+
vscode.commands.executeCommand('workbench.action.openSettings', '@ext:ex3ndr.llama-coder');
1615
}));
1716
let statusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Right, 100);
1817
statusBarItem.command = openSettings;

0 commit comments

Comments
 (0)