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

Exploring Deprecation of Prettify TypeScript – Feedback Needed #59

Open
mylesmmurphy opened this issue Feb 9, 2025 · 3 comments
Open

Comments

@mylesmmurphy
Copy link
Owner

mylesmmurphy commented Feb 9, 2025

Hi everyone,

I wanted to reach out to the community regarding the future of the prettify-ts extension. As some of you may be aware, TypeScript Expandable Hover is a new feature currently in development for Visual Studio Code (as of VS Code v1.96 update).

This feature, once fully implemented, could provide a similar functionality to prettify-ts. However, there are still some differences, particularly around how TypeScript Expandable Hover combines types into a single preview. My extension continues to offer the ability to merge intersected types into a single, combined preview, which could still make it relevant for users who require this specific functionality.

What does this mean?

  • TypeScript Expandable Hover could potentially replace the functionality provided by prettify-ts, as it allows for a more detailed hover preview of types directly in the editor.
  • prettify-ts may no longer be actively maintained if the experimental feature meets users' needs and offers a better overall experience.

Examples:

Prettify TS Output vs. Default Hover:

Image

Expanded Hover Output:

Image Image Image

What I need from you:

  • How important is the ability to combine multiple types into a single preview for your workflow?
  • Would you still prefer to use this extension even if TypeScript Expandable Hover becomes widely available?
  • What’s your experience with the TypeScript Expandable Hover feature in VS Code? Does it meet your needs?

Please share your thoughts in the comments below, as your feedback will help me decide whether to continue maintaining prettify-ts or to move toward deprecation.

Timeline:
I'll be monitoring this issue over the next 6 months and will keep you updated on any decisions. If deprecation is pursued, I’ll ensure there is a smooth transition and provide alternatives where possible.

Potential Options:

  • Develop a TypeScript plugin to remove the } & { syntax from the provided hover, while retaining the new behaviors introduced by TypeScript Expandable Hover.

Thank you for your support and feedback!

Best,
Myles

@mylesmmurphy
Copy link
Owner Author

Quick update~
I've explored the listed potential option, and it works well. Overall much simpler, and a way better user experience than the current extension. I believe this is the future of the extension, but would still love to gather feedback.

Image

@mylesmmurphy
Copy link
Owner Author

Tracking related issue here.

@markusand
Copy link

I agree to absolutely all feedback you pointed out in microsoft's discussion.

TBH this plugin should be the standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants