INNER CODE UNIT · TypeScript

updateStatusBar

jasonjmcghee/claude-debugs-for-you · src/extension.ts:40

    function updateStatusBar() {
        if (server.isRunning) {
            statusBarItem.text = "$(check) Claude Debugs For You";
            statusBarItem.tooltip = "Claude Debugs For You (Running) - Click to show commands";
        } else {
            statusBarItem.text = "$(x) Claude Debugs For You";
            statusBarItem.tooltip = "Claude Debugs For You (Stopped) - Click to show commands";
        }
        statusBarItem.show();
    }

    // Listen for server state changes
    server.on('started', updateStatusBar);
    server.on('stopped', updateStatusBar);

    // Listen for configuration changes
    context.subscriptions.push(
        vscode.workspace.onDidChangeConfiguration(async e => {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…