Global definitions #717
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 1 comment
-
Posted at 2017-04-24 by @gfwilliams The definitions come from http://www.espruino.com/json/espruino.json, which is in format that works with Tern. I think that running this script on the downloaded Espruino source files might come up with a file for you, but it hasn't been changed in a while so I wonder if it still works: https://github.com/espruino/Espruino/blob/master/scripts/build_jsstub.py |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-04-22 by grayn
I'm developing using WebStorm as the IDE and the espruino command-line tool to push code to the board. This is working great, but the Web IDE has auto-completion information available about the espruino-globals like LED1, Serial1, etc, which WebStorm does not recognize. Where does the IDE get the information from? Where are these actually defined? Would be great if I could get WebStorm to recognize them and stop complaining about unresolved variables and functions.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions