The current version 3.1.0 is bugged in that regard as it does not function while the sc2 editor is open (this was my fault). If the sc2 editor is open, the 3.1.0 version has absolutely no information about any sc2 functions or constants making it bug out. I fixed this for the next version, but Beier has not released it yet (like he said: he is busy at the moment).
- Revert to the version before that and the errors about the missing constants should be gone. But you won't be able to use any new sc2 1.5 features.
- Use the Galaxy
++editor only when the sc2 editor is closed. This would make developing pretty annoying.