3

The photo of timeline and outline is below. I want to hide them by vscode extension.

outline and timeline views

Mark
  • 143,421
  • 24
  • 428
  • 436

2 Answers2

1

Those views all have a remove command, so in an extension you could do this:

await vscode.commands.executeCommand('timeline.removeView');
await vscode.commands.executeCommand('outline.removeView');

That works in my testing.

Mark
  • 143,421
  • 24
  • 428
  • 436
0

It's work for you: right click on the Timeline or Outline, then you can deselect Timeline and Outline.

csdroid
  • 11
  • 2