yoavbls / pretty-ts-errors

🔵 Make TypeScript errors prettier and human-readable in VSCode 🎀
https://marketplace.visualstudio.com/items?itemName=yoavbls.pretty-ts-errors
MIT License
13.29k stars 89 forks source link

Support for WebStorm? #11

Closed DoooReyn closed 1 year ago

DoooReyn commented 1 year ago

Hi, This plugin is awesome and helpful. And I am wondering if you have plans to support JetBrains WebStorm.

Best regards.

juicyjusung commented 1 year ago

LGTM!

Sufiane commented 1 year ago

that would be awesome !

avshyz-gs commented 1 year ago

A million times yes

GCJ2 commented 1 year ago

Would love this as well.

hadnet commented 1 year ago

Would love support for VIM users as well!

yoavbls commented 1 year ago

@DoooReyn It'll be challenging since I don't know Kotlin or how JetBrains extensions work, But I'll find time to try. If someone here did write a JetBrains extension, feel free to reach out 🙏🏼

yoavbls commented 1 year ago

@hadnet I don't even know how to use Vim (I know only to exit 😅) Are Vim plugins can be written in TypeScript?

cjsewell commented 1 year ago

Added a request on youtrack, to see if we can get Jetbrains to help support it. Go up vote it! https://youtrack.jetbrains.com/issue/WEB-60634/Add-support-pretty-ts-errors

hronro commented 1 year ago

@yoavbls

Are Vim plugins can be written in TypeScript?

Yes, they can!

One of the most popular LSP implementations for VIM is coc.nvim, which is written in TypeScript and shares a lot of code from VSCode.

Karamuto commented 1 year ago

Would be surely awesome to have Webstorm support!

By the way they have an official guide on how to do it:

https://blog.jetbrains.com/webstorm/2021/09/building-a-plugin-for-webstorm-part-1/

lukasborawski commented 1 year ago

Please! 🙏🏻

Buslowicz commented 1 year ago

I am also for it, am using WebStorm for around 9-10 years now, this would be a perfect addition to it!

RafalSzczuka commented 1 year ago

That would be lovely!

haosmos commented 1 year ago

it would be really cool to get such a useful plugin in webstorm!

acalcifer commented 1 year ago

would be really great +1🫠

izakfilmalter commented 1 year ago

Would love this.

xquelard commented 1 year ago

Hi there ! @yoavbls i'd love to work on the Webstorm side of things, maybe you could make a small tour of the existing codebase for me when you have a bit of time :) ?

vasilistotskas commented 1 year ago

would be really helpful 🔥

iSplasher commented 1 year ago

I think it might be better to separate the parsing and formatting logic to a different package pretty-ts-errors-formatter and then let the community build plugins on top of it. Could even make it a more generic error-formatter with a standardized api to support all kinds of languages.

johnsoncodehk commented 1 year ago

See https://github.com/yoavbls/pretty-ts-errors/issues/21#issuecomment-1512932535

el-veee commented 1 year ago

Just want to shout out that Webstorm 2023.2 just released and includes improved error formatting out of the box, similar to this extension.

https://www.jetbrains.com/webstorm/whatsnew/

IGassmann commented 1 year ago

Just want to shout out that Webstorm 2023.2 just released and includes improved error formatting out of the box, similar to this extension.

jetbrains.com/webstorm/whatsnew

So happy about this. I wonder though how it compares to this extension.

yoavbls commented 1 year ago

I tried it in a few cases and it's really nice!

image

I didn't spot differences except for the links to typescript.tv and the error literal explanation but I'm waiting for heavy WebStorm users to try and write their impressions 🙂

yoavbls commented 1 year ago

So I guess it's considered Done