IntelliJ d3 autocomplete doesn't works

Hello there, I'm using d3 v4 and Intellij 2021. I've installed d3 types inside Language & Frameworks > Javascript > Libraries but the autocomplete doesn't recognize anything. 

0
8 comments

Works fine for me with d3 typings installed in Libraries:

can you repeat the issue in a new project?

0

Are you using IntelliJ 2021 ?

0

Anyway new project same issue.

Steps:
npx create-react-app test
cd test
npm install d3


0

Can't reproduce with your steps

Please expand the External Libraries/Global @types/* node in the Project tree - what can you see there?

0

In addition, if I hit Alt+Return I can't see the Install Typescript definitions menu

0

Most of the required typings are not there, plus you have an extra library with minified files.

Please remove (not disable, but delete) all d3 libraries in Settings | Languages & Frameworks | JavaScript | Libraries, re-start the IDE and then try re-downloading the typings through Alt+Enter

0

Thanks your suggestions solved my problem

1

Please sign in to leave a comment.