pretty-ts-errors icon indicating copy to clipboard operation
pretty-ts-errors copied to clipboard

Support for WebStorm?

Open DoooReyn opened this issue 1 year ago • 20 comments

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

Best regards.

DoooReyn avatar Apr 17 '23 02:04 DoooReyn

LGTM!

juicyjusung avatar Apr 17 '23 03:04 juicyjusung

that would be awesome !

Sufiane avatar Apr 17 '23 08:04 Sufiane

A million times yes

avshyz-gs avatar Apr 17 '23 08:04 avshyz-gs

Would love this as well.

GCJ2 avatar Apr 17 '23 09:04 GCJ2

Would love support for VIM users as well!

hadnet avatar Apr 17 '23 16:04 hadnet

@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 avatar Apr 17 '23 20:04 yoavbls

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

yoavbls avatar Apr 17 '23 20:04 yoavbls

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

cjsewell avatar Apr 18 '23 03:04 cjsewell

@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.

hronro avatar Apr 18 '23 03:04 hronro

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/

Karamuto avatar Apr 18 '23 05:04 Karamuto

Please! 🙏🏻

lukasborawski avatar Apr 18 '23 05:04 lukasborawski

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

Buslowicz avatar Apr 18 '23 08:04 Buslowicz

That would be lovely!

RafalSzczuka avatar Apr 18 '23 08:04 RafalSzczuka

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

haosmos avatar Apr 18 '23 08:04 haosmos

would be really great +1🫠

acalcifer avatar Apr 18 '23 09:04 acalcifer

Would love this.

izakfilmalter avatar Apr 18 '23 09:04 izakfilmalter

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 :) ?

xquelard avatar Apr 18 '23 09:04 xquelard

would be really helpful 🔥

vasilistotskas avatar Apr 18 '23 10:04 vasilistotskas

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.

iSplasher avatar Apr 18 '23 11:04 iSplasher

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

johnsoncodehk avatar Apr 18 '23 11:04 johnsoncodehk

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/

el-veee avatar Jul 25 '23 00:07 el-veee

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.

IGassmann avatar Jul 25 '23 07:07 IGassmann

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 avatar Jul 29 '23 17:07 yoavbls

So I guess it's considered Done

yoavbls avatar Jul 29 '23 17:07 yoavbls