The photo of timeline and outline is below. I want to hide them by vscode extension.
Those views all have a remove command, so in an extension you could do this:
remove
await vscode.commands.executeCommand('timeline.removeView'); await vscode.commands.executeCommand('outline.removeView');
That works in my testing.