just trying out sublime text and like it, but is there any way to customize it for use with google app engine? Would be nice to at least have code completion.
Thanks
just trying out sublime text and like it, but is there any way to customize it for use with google app engine? Would be nice to at least have code completion.
Thanks
If you're not already using it, install Package Control and then install SublimeCodeIntel. While not specifically for GAE, it provides intelligent code completion for any modules that are imported into your code. The initial run will take a while, as it has to index everything and GAE is quite large, but it'll definitely prove its worth as you use it. Take some time to browse through the community packages for Package Control (as well as wbond's own), as there's a lot of good stuff out there for ST2.
Once your code is ready to deploy, you can use the appcfg.py
command line utility from the SDK in a build system along the lines of the following:
{
"cmd": ["appcfg.py --option --other_option=foo update", "$project_path"],
"path": "C:/Program Files/Google/google_appengine",
"encoding": "UTF-8",
"shell": true
}
where $project_path
is an internal ST2 variable taken from your project settings (under the Project
menu).