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

Usability problems in error popups #57088

Closed
tetsuo opened this issue Aug 23, 2018 · 3 comments
Closed

Usability problems in error popups #57088

tetsuo opened this issue Aug 23, 2018 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-hover Editor mouse hover feature-request Request for new features or functionality typescript Typescript support issues
Milestone

Comments

@tetsuo
Copy link

tetsuo commented Aug 23, 2018

  • Error popup screens are too small
  • Basically you interact with a fixed size window only by moving your mouse cursor, there is no way to keep them on the screen or change the size of the window, which is kind of weird since those popups are like one of the most important tools for writing TypeScript code
  • Scrolling the text inside popups is painful
  • Useful error messages are truncated by default. That'd be better if you can put a small "More information" button in the bottom instead. I don't really understand the reasoning behind this, you truncate the text in a random manner, it's not like that you have two different formats for describing errors. If I disable noErrorTruncation (which is disabled by default) I don't get any useful information from this. If I enable it, error message is not readable anymore.
@vscodebot vscodebot bot added editor editor-contrib Editor collection of extras labels Aug 23, 2018
@sandy081 sandy081 assigned jrieken and unassigned sandy081 Aug 24, 2018
@jrieken jrieken assigned alexdima and unassigned jrieken Aug 24, 2018
@alexdima alexdima added editor-hover Editor mouse hover typescript Typescript support issues and removed editor-contrib Editor collection of extras labels Aug 27, 2018
@joaomoreno
Copy link
Member

Error popups support full Markdown. This requires adoption across extensions.

@joaomoreno joaomoreno removed their assignment Aug 27, 2018
@tetsuo
Copy link
Author

tetsuo commented Aug 31, 2018

Thanks for your reply, @joaomoreno ! That's great to hear, I didn't know those small popups were also customizable.

I've realized that if you click on them, the border becomes highlighted and it stays on the screen even if you press any keys, which makes it possible to take screenshots on Macos using cmd+shift combo.

  • Text truncation also works fine to some extent, but it becomes difficult to read the TypeScript compiler's output text (which is the line that starts with [ts] on the upper half of the popup) if you use too many union types and overloaded signatures and etc. Not sure if there's an easy way to replace the default vscode tsc with a wrapper of mine, so I can filter the original tsc output and pipe better formatted text into error screens.

  • Maybe you can allow resizing the popup screen when you click on it? Keyboard events are already ignored in that stage, so you're not in the editing mode anymore. Why not add some fancy features while you're there?

@mjbvz
Copy link
Collaborator

mjbvz commented Feb 22, 2019

I believe this was addressed by #67076. The error hover now expands to be wider and there's a button to open the error in the inline view instead

@mjbvz mjbvz closed this as completed Feb 22, 2019
@mjbvz mjbvz added the *duplicate Issue identified as a duplicate of another issue(s) label Feb 22, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-hover Editor mouse hover feature-request Request for new features or functionality typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests

6 participants