I think you are using Brackets for custom widget development. Recommended is to use the newer npm package generator-mendix in combination with Atom or any other IDE (also Brackets is possible).
And if you want to do microflow stuff I thing you need to take a look at the runtime apidocs. There are some good examples.
I hope this helps, Kind regards, Marcus