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
Comments
@jrieken +1. I have a use case for this as well. |
vscode.window.showErrorMessage
The API should be fit for it but it's a limitation of our underlying message service. |
@stevencl @bgashler1 this should be one input to our notifications discussion. |
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.) |
Hovering should always reveal the full message so there is a workaround. |
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. |
Related to #1135 |
Have you ever tried writing down an error message that is displayed in a tooltip? |
This landed via #43770 and can be tried out in our preview release: https://code.visualstudio.com/insiders/ |
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
The text was updated successfully, but these errors were encountered: