skip to Main Content

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

outline and timeline views

2

Answers


  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.

    Login or Signup to reply.
  2. It’s work for you:
    right click on the Timeline or Outline, then you can deselect Timeline and Outline.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search