-
Notifications
You must be signed in to change notification settings - Fork 8
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
Hide original typescript types #13
Comments
Hey @itsyoboieltr! Thanks for mentioning this. Unfortunately, the extension doesn't have any control over the default TypeScript hover "quick info," however, the extension tries it's best to not display redundant information. Is it showing the exact same type preview twice? If so, would you mind sharing an example? |
It is not the exact same type preview, just very similar. I agree that there is nothing the extension can do, the question is more about if it is possible to turn off the default type hover somehow? Because it would be nice to only see the prettified one the extension provides. |
Hey @itsyoboieltr, wanted to update you on this. I've looked through all of the VSCode options for modifying the default hover quick info provided by TypeScript, but unfortunately VSCode and TS don't give us that level of granularity, you'd need to either turn off hover information completely or not 😢 I'll keep this open for now to see if anyone else might know how |
Hi @itsyoboieltr https://github.com/mylesmmurphy/prettify-ts/releases/tag/v0.1.0-alpha |
As an extension of this, is it possible to re-order the built-in vs generated type information? For example, hovering over a const with type |
Is it possible to hide the original types if I only want to see the prettified types provided by the extension? :D It is confusing for me to have the same type twice.
The text was updated successfully, but these errors were encountered: