Skip to content

Direct the user to the logs channel when build scripts fail #13995

Closed
@OmarTawfik

Description

@OmarTawfik

For the following notification, when build scripts panic:

rust-analyzer failed to run build scripts. Check the server logs for additional info.

image

It wastes users time and effort to hunt for the correct channel and scroll in it when that happens.

  1. Is it possible to reveal that channel when that happens? perhaps by using LogOutputChannel.show(true) (link to API).
  2. If too disruptive, would it be better to put it behind a VS Code configuration setting (false by default)?
  3. If too much work/doesn't work well with current settings, can we at least add a button on that notification box to Show Logs?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-vscodevscode plugin issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions