vscode-twoslash-queries
vscode-twoslash-queries copied to clipboard
Option to see large types (extend view box)
I like the vscode-twoslash-queries extension. Currently it shows a type within one line but for very large types it would be nice if you can expand that window to actually see the full type.
Screenshot

The API for showing things inline doesn't have the ability to do mutli-line annotations.
I think theres an interesting space for figuring a way to trigger an action which opens a sidebar with the full info if it's constrained though?
Imagine if we could attach a keybinding that took the token under the cursor and created a pane that showed the types, similar to when you click "View Problem"

playground inline type style is better
The API for showing things inline doesn't have the ability to do mutli-line annotations.
I think theres an interesting space for figuring a way to trigger an action which opens a sidebar with the full info if it's constrained though?
Could we open some kind of popup like GitLens does?
In some of my more recent work in monaco (on unrelated things) I've used the monaco viewzones API to get pretty inline messages - they can be multi-line, so I guess it could be possible
( But the popover would be the same as the hover, it is the same API request to typescript)
In some of my more recent work in monaco (on unrelated things) I've used the monaco viewzones API to get pretty inline messages - they can be multi-line, so I guess it could be possible
( But the popover would be the same as the hover, it is the same API request to typescript)
Looks good.
In some of my more recent work in monaco (on unrelated things) I've used the monaco viewzones API to get pretty inline messages - they can be multi-line, so I guess it could be possible
( But the popover would be the same as the hover, it is the same API request to typescript)
Like ZoneWidget, VSCode does not seem to provide related functional support, maybe we still need to wait for ZoneWidget.
https://github.com/microsoft/vscode/issues/88483
Could Editor insets be used to implement this at least for Insiders? https://github.com/microsoft/vscode/issues/85682
