Answer the question
In order to leave comments, you need to log in
How to configure WebStorm to work with RequireJS?
I can't figure out what is needed for WebStorm to work with AMD modules. Require.JS is included in the project folder via the tag <script>
. The attribute data-main
does not suggest functions require
and define
should be highlighted as keywords. In general, because of this, auto-substitution and refactoring do not work normally.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question