-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Button in vs-code to open a large error as a new file in open a new tab. #107
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
@MichaelDimmitt I think you are looking for the |
|
@MichaelDimmitt Apologies, i did not see your PS. I tried to reproduce it and ran into the truncation problem and assumed that was the case here. |
I have a 99% working implementation with the markdown code block syntax highlighting still missing: But I'm struggling with getting the syntax highlighting in the rendered markdown for the custom embedded These instructions are supposed to help:
But I haven't figured it out yet. There icons that link to external sites to help explain the error are also missing, but the rest seems promising. I'll try to make a full PR somewhere next week. |
@kevinramharak It looks very promising! https://github.com/mattbierner/vscode-docs-view/blob/master/src/codeHighlighter.ts If you can share the partial PR with me I'll try to help :) |
@yoavbls I did look into the Webview API but since it recommends first looking into the native API's I decided to try that first. |
Looking good |
This is great, thank you for sharing that branch. @kevinramharak I will attempt on my end forking what you are working on. Even what you have in that branch would totally work for my purposes Thanks again. |
I was going to sponsor both of you but only an option to sponsor @yoavbls , |
@yoavbls A working side panel would require setting up the Webview API. But I assume it is largely the same flow. @MichaelDimmitt Thanks for your generosity. I have not had the time yet to work on this. I hope to work out the MVP into something mergable this summer. |
I'm sorry that I still haven't found time for that but I hope I will do soon. |
@yoavbls Oh wow thank you. I applied for sponsorship, but its still pending. Was not aware anyone could just apply for it. |
Of course, just let me know when the sponsorship option is approved |
Done 🙂 |
Description:
Not sure if I should request this feature in this extension.
Please let me know if it should be posted in a different extension repository.
Describe the bug
When you hover to see a typescript error the content can be to large to view in the tooltip.
I understand there is a button that sends you here: https://ts-error-translator.vercel.app/ - however, that also cuts off the two types that that I want to visually compare to troubleshoot the error.
Expected behavior
Clicking a button from the tooltip, outputs the error in a new vs-code tab.
Original error
If this bug is related to an error that is not formatting well, please
attach the original error in a code block:
Screenshots
If there is interest for this and if it is possible.
I might try to put up a pr solving this.
Thank you, this extension is definitely helpful overall.
Regards,
Michael Dimmitt
ps. to make the example in the screenshot I added this to my typescript file: "noErrorTruncation": true,
The text was updated successfully, but these errors were encountered: