崇高文本2& 3设置python / django与代码完成 [英] Sublime Text 2 & 3 setup for python / django with code completion

查看:182
本文介绍了崇高文本2& 3设置python / django与代码完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用一个自动完成插件,用于网页开发的高档文本。我正在使用django框架。我已经研究了以下可能的选项。不是一个问题,只是为了参考,我已经在这里添加了这些。






范围(根据活动水平,承诺,贡献者,福利,叉,问题(开/闭)[2014年2月]







  • SublimeCodeIntel :从Open Komodo Editor移植到代码智能插件



    功能:




    • 跳转到符号定义 - 跳转到符号定义的文件和行

    • 导入autocomplete - 实时显示可用模块/符号的自动完成

    • 功能调用工具提示 - 显示状态栏中关于工作功能的信息

    • 支持:JavaScript,Mason,XBL,XUL,RHTML,SCSS,Python,HTML,Ruby,Python3,XML,Sass,XSLT,Django, HTML5,Perl,CSS,Twig,Less,Smarty,Node。 js,Tcl,TemplateToolkit,PHP。








  • SublimeJEDI :SublimeJEDI是一个崇高的文本2和功能:




    • 自动完成在DOT上

    • 功能参数填写完毕

    • Jedi Goto / Go定义

    • Jedi查找相关名称(查找使用)








  • Djaneiro :Django支持Sublime Text 2/3



    功能




    • Django模板的片段

    • Django模型字段的片段

    • Django表单字段的片段

    • 完成








解决方案

在我看来,只有2个sulbime插件提供了很好的完成:





CodeIntel和Rope工作不正常。 Djaneiro比完成更多的片段,但我也发现它很有用。


I want to use an autocomplete plugin with sublime text for web development. I'm using django framework. I've looked into the following possible options. Not really a question, just for reference, I've added these here.


The listing order represents popularity to a certain extent (based on activity level, commits, contributors, favorties, forks, issues (open/closed) [Feb-2014]


  • SublimeCodeIntel : Code intelligence plugin ported from Open Komodo Editor to Sublime Text.

    Features :

    • Jump to Symbol Definition - Jump to the file and line of the definition of a symbol
    • Imports autocomplete - Shows autocomplete with the available modules/symbols in real time
    • Function Call tooltips - Displays information in the status bar about the working function
    • Supports : JavaScript, Mason, XBL, XUL, RHTML, SCSS, Python, HTML, Ruby, Python3, XML, Sass, XSLT, Django, HTML5, Perl, CSS, Twig, Less, Smarty, Node.js, Tcl, TemplateToolkit, PHP.

  • SublimeJEDI : SublimeJEDI is a Sublime Text 2 and Sublime Text 3 plugin to the awesome autocomplete library Jedi

    Features:

    • Autocomplete on DOT
    • Function args fill up on completion
    • Jedi Goto / Go Definition
    • Jedi Find Related Names ("Find Usages")

  • Djaneiro : Django support for Sublime Text 2/3

    Features

    • Snippets for Django templates
    • Snippets for Django model fields
    • Snippets for Django form fields
    • Completions

解决方案

In my opinion, there are ONLY 2 sulbime plugins that provide really good completion:

CodeIntel and Rope works badly. Djaneiro is more snippets than completion but I also find it useful.

这篇关于崇高文本2& 3设置python / django与代码完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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