Python 和智能感知

Python and Intellisense(Python 和智能感知)
本文介绍了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 和智能感知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Leetcode 234: Palindrome LinkedList(Leetcode 234:回文链接列表)
How do I read an Excel file directly from Dropbox#39;s API using pandas.read_excel()?(如何使用PANDAS.READ_EXCEL()直接从Dropbox的API读取Excel文件?)
subprocess.Popen tries to write to nonexistent pipe(子进程。打开尝试写入不存在的管道)
I want to realize Popen-code from Windows to Linux:(我想实现从Windows到Linux的POpen-code:)
Reading stdout from a subprocess in real time(实时读取子进程中的标准输出)
How to call type safely on a random file in Python?(如何在Python中安全地调用随机文件上的类型?)