Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message service should show a little more #5454

Closed
alefragnani opened this issue Apr 18, 2016 · 9 comments
Closed

Message service should show a little more #5454

alefragnani opened this issue Apr 18, 2016 · 9 comments
Assignees
Labels
ux User experience issues workbench-notifications Notification widget issues
Milestone

Comments

@alefragnani
Copy link

When you use vscode.window.showErrorMessage (Information and Warning too), the message that is displayed is limited to one line with a certain length.

It would be good to have a way to expand the message (maybe like the Read more available in Intellisense), showing the entire content.

Thanks in advance

@dbaeumer dbaeumer added api feature-request Request for new features or functionality labels Apr 18, 2016
@dbaeumer
Copy link
Member

@jrieken +1. I have a use case for this as well.

@jrieken jrieken assigned bpasero and unassigned jrieken Apr 19, 2016
@jrieken jrieken removed the api label Apr 19, 2016
@jrieken jrieken changed the title Multiline messages in vscode.window.showErrorMessage Message service should show a little more Apr 19, 2016
@jrieken
Copy link
Member

jrieken commented Apr 19, 2016

The API should be fit for it but it's a limitation of our underlying message service.

@bpasero bpasero added the ux User experience issues label Apr 19, 2016
@bpasero
Copy link
Member

bpasero commented Apr 19, 2016

@stevencl @bgashler1 this should be one input to our notifications discussion.

@joelbarker2011
Copy link

joelbarker2011 commented Oct 13, 2016

At the very least, there should be some documentation stating that the portion of the message string after the first new line will be silently ignored!

I would definitely classify this as a bug, not a feature request. (It is either a bug in functionality, where the message is not being fully displayed, or a bug in the documentation, if this is intentionally unsupported behavior.)

@bpasero
Copy link
Member

bpasero commented Oct 13, 2016

Hovering should always reveal the full message so there is a workaround.

@joelbarker2011
Copy link

Thanks, @bpasero.

I note that hovering collapses all white space (newlines/tabs) into single spaces (it renders as a string, not HTML, so there seems to be no way to render lines of output in a readable manner).

I also note that the hovering behavior, while better than nothing, is both non-obvious and undocumented.

@bgashler1
Copy link
Contributor

Related to #1135

@s-h-a-d-o-w
Copy link

Hovering should always reveal the full message so there is a workaround.

Have you ever tried writing down an error message that is displayed in a tooltip?
Doesn't work all that well. ;)

@bpasero
Copy link
Member

bpasero commented Feb 20, 2018

This landed via #43770 and can be tried out in our preview release: https://code.visualstudio.com/insiders/

@bpasero bpasero closed this as completed Feb 20, 2018
@bpasero bpasero modified the milestones: Backlog, February 2018 Feb 20, 2018
@bpasero bpasero self-assigned this Feb 20, 2018
@bpasero bpasero removed the feature-request Request for new features or functionality label Feb 20, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ux User experience issues workbench-notifications Notification widget issues
Projects
None yet
Development

No branches or pull requests

8 participants