崇高的文字2谷歌应用程序引擎代码完成 [英] Sublime text 2 google app engine code completion

查看:116
本文介绍了崇高的文字2谷歌应用程序引擎代码完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是尝试崇高的文字和喜欢它,但有没有什么办法来定制它与谷歌应用程序引擎一起使用?



谢谢

解决方案

如果您尚未使用它,请安装软件包控制,然后安装 SublimeCodeIntel 。虽然不是专门针对GAE的,但它为任何导入代码的模块提供智能代码完成。初始运行需要一段时间,因为它必须对所有内容进行索引,GAE非常大,但在使用它时肯定会证明它的价值。花点时间浏览包控制的社区套餐(以及 wbond自己的),因为ST2有很多好东西。一次性购买您的代码已准备好部署,您可以使用 appcfg。 py 命令行实用程序在 build system

  {
cmd:[appcfg .py --option --other_option = foo update,$ project_path],
path:C:/ Program Files / Google / google_appengine,
encoding:UTF- 8,
shell:true
}

其中 $ project_path 是一个内部的ST2变量您的项目设置(在项目菜单下)。


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).

这篇关于崇高的文字2谷歌应用程序引擎代码完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆