Babel error (codeframe format) clickable in the console

Answered

I'm using Webpack / ForkTsCheckerWebpackPlugin that is generating errors using Babel codeframe format. Something like:

ERROR in src/widgets/xTable.tsx:122:36

in the IDEA's console is there anyway to have this error clickable to jump directly to the xTable.tsx file at line 122 ?

0
10 comments

Hello Marc,

A similar feature was implemented in 2020.3 IDE version. (https://youtrack.jetbrains.com/issue/WEB-47897)

Please try using the latest version from https://www.jetbrains.com/idea/download.

0
Avatar
Permanently deleted user

Hello Egor,

I've forgot to mention the version I'm using: 

IntelliJ IDEA 2020.3 (Ultimate Edition)
Build #IU-203.5981.155, built on November 30, 2020

 

0

Thanks for the information.

Looks like this problem was fixed in version 2020.3.1. See https://youtrack.jetbrains.com/issue/WEB-22867 .

0
Avatar
Permanently deleted user

Great I'll check w/ 2020.3.1 then. Thank you.

0
Avatar
Permanently deleted user

Unfortunately it seems the problem is still there:

 

using the latest IDEA:

IntelliJ IDEA 2020.3.1 (Ultimate Edition)
Build #IU-203.6682.168, built on December 29, 2020

 

 

0

what console is it? What run configuration do you use to run your code?

0
Avatar
Permanently deleted user

I'm using a regular npm start/build run configuration as generated by clicking in the npm window displaying the scripts available in the package.json. When running, this command is opening the Run console as shown in my previous message.

 

0

Errors coming from ForkTsCheckerWebpackPlugin are clickable for me in NPM console:

 

please could you share a minimal test project the issue can be repeated with?

0
Avatar
Permanently deleted user

Here it is: https://we.tl/t-5KthNTNRfu 

I've simplified our multi modules project as much as possible to get a single module within the main project module. The issue is still here.

FYI: while preparing that test project I've moved all the content of the x-reporting module to the root of ReportingMF module and the error was clickable...

0

Thanks, reproduced.

Submitted to developers as https://youtrack.jetbrains.com/issue/WEB-49002, please follow it for updates

0

Please sign in to leave a comment.