How to make WebStorm treat PaperScript as JavaScript?
How to make WebStorm treat ‘Paper.js’ PaperScript <script type="text/paperscript"> as ordinary JS for syntax highlighting, autocompletion and so forth?
Please sign in to leave a comment.
How to make WebStorm treat ‘Paper.js’ PaperScript <script type="text/paperscript"> as ordinary JS for syntax highlighting, autocompletion and so forth?
Please sign in to leave a comment.
Yeah, I'm not seeing a way to do this myself. It would be nice to have some generic way to type a script type to a framework.
I would also like to see a solution to this:
Same here. I have to work with paper.js. How do we get this to work?
There's the answer in this topic https://intellij-support.jetbrains.com/hc/en-us/community/posts/207004385-How-do-I-highlight-my-inline-script-with-type-text-javascript-lazy-as-if-it-were-javascript-
DO SOMEBODY KNOW, HOW TO INSTALL PAPER.JS LIBRARY IN TO WEBSTORM? THANKS FOR ANSWER :)