A
A
Alxjzx1002020-10-25 21:45:13
phpstorm
Alxjzx100, 2020-10-25 21:45:13

Why doesn't PhpStorm see functions from bootstrap.js?

Hello!

PhpStorm stubbornly swears at the functions from bootstrap, in particular at modal (), writes:

Unresolved function or method modal()

I have added the bootstrap library via Preferences > Language & Frameworks > JavaScript > Libraries . Hands looked *.d.ts files - types are defined, but phpStorm does not see them. Accordingly, auto-completion does not work either.

I reset the caches, restarted the IDE.

I am familiar with PhpStorm recently, tell me, please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alxjzx100, 2020-10-26
@Alxjzx100

The problem was solved by adding an uncompressed version of jQuery

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question