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

How to remove the default Typescript tooltip hover #19

Closed
MehdiRaash opened this issue Apr 18, 2023 · 10 comments
Closed

How to remove the default Typescript tooltip hover #19

MehdiRaash opened this issue Apr 18, 2023 · 10 comments
Labels
duplicate This issue or pull request already exists

Comments

@MehdiRaash
Copy link

Thanks for making such a nice library, I know my question is not specifically related to this repo, but I'm guessing you guys might know the answer.
I would like to remove the duplicate .ts error on hover, Do you have any idea around it?
Screenshot 2023-04-18 at 12 44 25 AM

As you know the fist line of the error is almost redundant.

@toanbku
Copy link

toanbku commented Apr 18, 2023

+1

@sherif414
Copy link

+1
that's the first thing i thought about.

@multiplehats
Copy link

I'm pretty sure this is not supported by the VS Code API yet 🤮.

@crydotsnake
Copy link

I would post this issue in the VSCode repository :)

@antoineharel
Copy link

+1 !!

(thanks for the extension 🔥)

@btmnk
Copy link

btmnk commented Apr 18, 2023

It would already be a big improvement if we could change the order. Does anyone know if that's possible?
I wouldn't mind if the gibberish errors are at the bottom and the readable one is at the top.

@sherif414
Copy link

It would already be a big improvement if we could change the order. Does anyone know if that's possible? I wouldn't mind if the gibberish errors are at the bottom and the readable one is at the top.

i have this by default

@czy0729
Copy link

czy0729 commented Apr 18, 2023

It would already be a big improvement if we could change the order. Does anyone know if that's possible? I wouldn't mind if the gibberish errors are at the bottom and the readable one is at the top.

i also at the top by default, it might be an issue caused by other plugins in your vscode?

@btmnk
Copy link

btmnk commented Apr 18, 2023

It would already be a big improvement if we could change the order. Does anyone know if that's possible? I wouldn't mind if the gibberish errors are at the bottom and the readable one is at the top.

i also at the top by default, it might be an issue caused by other plugins in your vscode?

Hmm weird, I checked If I had any settings that might cause this but couldn't find anything.
For me it first shows eslint errors, then ts errors and after that the extension error is shown.
For a colleague it also only shows the extension error (no default error at all) but I'm not sure what the cause could be..
Afaik I don't have any other extensions that would temper with the error tooltip..

@yoavbls
Copy link
Owner

yoavbls commented Apr 18, 2023

Thank you for opening this issue!
It's currently not supported by VSCode APIs, but @johnsoncodehk got a break through there and made a POC of service language plugin that could do it.
Let's continue to talk about the order of the messages and the option to hide the original errors there:
#3

@yoavbls yoavbls closed this as completed Apr 18, 2023
@yoavbls yoavbls added the duplicate This issue or pull request already exists label May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

9 participants