Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[plug-in] OutputChannel.show does not show #4214

Closed
akosyakov opened this issue Feb 1, 2019 · 7 comments · Fixed by #4215
Closed

[plug-in] OutputChannel.show does not show #4214

akosyakov opened this issue Feb 1, 2019 · 7 comments · Fixed by #4215
Assignees
Labels
bug bugs found in the application help wanted issues meant to be picked up, require help plug-in system issues related to the plug-in system 🤔 needs more info issues that require more info from the author vscode issues related to VSCode compatibility

Comments

@akosyakov
Copy link
Member

Reproducible with grunt VS Code extension when grunt is not installed.

@akosyakov akosyakov added bug bugs found in the application plug-in system issues related to the plug-in system vscode issues related to VSCode compatibility labels Feb 1, 2019
@akosyakov akosyakov self-assigned this Feb 1, 2019
@benoitf
Copy link
Contributor

benoitf commented Feb 1, 2019

linking #4155

akosyakov added a commit that referenced this issue Feb 1, 2019
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Feb 1, 2019
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
@wangshen-sap
Copy link

seems reproduced in latest version, please check it@akosyakov

@akosyakov
Copy link
Member Author

@wangshen-sap Could you file a new issue with steps to reproduce please?

@wangshen-sap
Copy link

the code like this

if (!outputPanel) {
outputPanel = vscode.window.createOutputChannel("mck");
}
outputPanel.show();
outputPanel.appendLine(message);
}

mck output channel is not shown after calling this, you need select "mck" from dropdown list, then the "mck" outputchannel will show @akosyakov

@wangshen-sap
Copy link

the version should be 0.16.1

@akosyakov akosyakov reopened this Mar 20, 2020
@akosyakov akosyakov added the 🤔 needs more info issues that require more info from the author label Mar 20, 2020
@akosyakov
Copy link
Member Author

It would help if someone prepares a VS Code extension and verify #4214 (comment)

@akosyakov akosyakov added the help wanted issues meant to be picked up, require help label Mar 20, 2020
@vince-fugnitto
Copy link
Member

Closing. The API works well for me, and was confirmed with output-show-0.0.1.vsix.zip.

export function activate(context: vscode.ExtensionContext) {
    const channel = vscode.window.createOutputChannel('test');
    let disposable = vscode.commands.registerCommand('output-show.show', () => {
        channel.show();
        channel.appendLine('test line.');
    });
    context.subscriptions.push(disposable);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application help wanted issues meant to be picked up, require help plug-in system issues related to the plug-in system 🤔 needs more info issues that require more info from the author vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants