Python 和智能感知 [英] Python and Intellisense

查看:37
本文介绍了Python 和智能感知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于 Python 是否有等效于智能感知"的功能?

也许我不应该承认这一点,但我发现智能感知确实加快了学习一门新语言的发现阶段".例如,从 VB.net 切换到 C# 是一件轻而易举的事,因为片段和智能感知帮助了我.

解决方案


(来源:dispatched.ch)

这是 Vim 7 中的标准.在 Vim 中还有许多其他非常有用的 Python 开发插件,例如 Pyflakes 动态检查代码和 Python_fn.vim 提供了操作 python 缩进的功能 &代码块.

Is there an equivalent to 'intellisense' for Python?

Perhaps i shouldn't admit it but I find having intellisense really speeds up the 'discovery phase' of learning a new language. For instance switching from VB.net to C# was a breeze due to snippets and intellisense helping me along.

解决方案

This blog entry explains setting Vim up as a Python IDE, he covers Intellisense-like functionality:


(source: dispatched.ch)

This is standard in Vim 7. There are a number of other very useful plugins for python development in Vim, such as Pyflakes which checks code on the fly and Python_fn.vim which provides functionality for manipulating python indentation & code blocks.

这篇关于Python 和智能感知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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