appendToOutputChannel method
Append to output channel
Implementation
Future<void> appendToOutputChannel(
String channelName,
String text, {
int timeoutSeconds = 30,
}) async {
await _adapter.sendRequest(
'executeScriptVce',
{
'script': '''
// In real implementation, would retrieve stored channel
// For now, create new or use existing
const channel = context.vscode.window.createOutputChannel(params.name);
channel.append(params.text);
''',
'params': {'name': channelName, 'text': text},
},
scriptName: 'appendToOutputChannel',
timeout: Duration(seconds: timeoutSeconds),
);
}