I use Atom.io, which is smart enough to provide intellisense for commonly used function and variable names. I've also seen a solution on github, but I haven't tested it. https://github.com/Garethp/ScreepsAutocomplete