Skip to content

Commit 0692cba

Browse files
authored
Merge pull request #21 from TheMcSebi/main
Open extension settings on tray button click
2 parents 77cb1f5 + ae7db70 commit 0692cba

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)