microsoft / codetour

VS Code extension that allows you to record and play back guided tours of codebases, directly within the editor.
https://aka.ms/codetour
MIT License
4.34k stars 109 forks source link

Some View Commands Invalid in Recent VSCode Version #198

Closed clavery closed 2 years ago

clavery commented 2 years ago

"view":"terminal" did not work for me. Received the following error: "The current tour step is attempting to focus a view which isn't available...".

According to https://github.com/microsoft/vscode/issues/106535 this command changed and we can now use simply terminal.focus.

As a workaround you can simply call terminal focus in the commands:

      "commands": [
        "terminal.focus"
      ]

After some testing it seems that "console", "problems", "extensions:enabled", and "extensions:disabled" also do not work although I have not been able to find the right command to focus those.

I can submit a PR to fix the terminal issue.