Webstorm doesn't hint reduceRight and other array iterations

Please tell me how to configure WebStorm so that it displays correctly array iterations in JSX?

WebStorm cannot detect reduceRight() at all, map(), filter(), forEach() highlight, but not hint. 

0
13 comments

Works fine for me in 2020.1.2:

 

does the issue persist after caches invalidation? if yes, could you check if you can reproduce it in a new project?

0

I created a new project, and there are no methods here. Maybe I have to install some libraries? I used to work in VS code and still didn't fully understand Webstorm

0

All needed libraries should be there by default

Do you have any custom plugins installed? Also, what file type are the *.ts and *.d.ts patterns assigned to in Preferences | Editor | File Types? Make sure that it's Typescript file type

0

I have to change the pattern? 

0

Looks OK. Please share a project the issue can be repeated in plus your idea.log (Help > Show Log in ...)

0

idea.log https://yadi.sk/d/8mzKCl7bX4A0nw

I opened another project that wrote in VS code and here, as you can see, nothing is highlighted

0

Nothing suspicious in the log

Could you share a project the issue can be reproduced with (including .idea folder)? Your untitled4 project, for example? Your settings (File > Manage IDE Settings > Export Settings...) would be also helpful

0

Sorry for the long answer

I reinstalled the program and almost all the tips worked. But some are still not.

settings https://yadi.sk/d/u2rbf-XGEGAjeQ
project React app https://yadi.sk/d/sCTiiDDbRqnzAQ

 

I’ll attach screenshots as a second comment

0

1, 2,3: I'm not sure why you expect any completion here, you are entering new field names. the IDE can't know what name you like to enter

 

4. works for me:

0

oh ok, sorry, I didn't know it,

about 4, can you please send me your settings? or say how to enable this XML hints. 

 

0

There are no settings for this. I've just opened your project in Webstorm

You will see the completion if you put a comma after '10px', I believe - it's missing in your screenshot

0

there are definitely problems with these tips, they either work or not, can you please write technical support mail? i will write them

0

Please sign in to leave a comment.