Windows 上的 Python 和 Vim?
几天前我开始学习 vim,令人惊讶的是它对我来说感觉很自然,我也想重新开始学习 python。我想,为什么不将两者结合起来呢?
所以现在我正在寻找如何设置一个合适的 python 开发环境,我所有的搜索都找到了其他操作系统的指南(我只是无法“翻译”到 Windows 而不感觉我错过了一些东西),有些感觉就像它们是为以前版本的 vim 制作的(他们假设它根本不支持 python...)
那么如何设置 vim 来进行 python 开发呢?我看到它已经有语法高亮,我该如何设置编译?我如何设置调试(如果需要的话,我在某处读到它在Python中并不是真正需要的)?如何设置错误突出显示?或者我可能还需要什么?我看到一些指南设置了“转到源代码”链接,新版本需要吗?
I started learning vim a couple of days ago and surprisingly it felt quite natural to me, I also want to get back to learning python. I thought, why not combine the two?
So now I'm looking how to set up a proper python development environment, all my searches turned up either guides for other OSes (which I just couldn't "translate" to windows without feeling like I missed something) and some feel like they are made for previous versions of vim (they assume it has no python support at all...)
So how do you set up vim for python development? I see it already has syntax highlighting, how do I set up compiling? how do I set up debugging (if it's even needed, I read somewhere that it's not really that needed in python)? how do I setup error highlighting? or anything else I might need? I saw some guides setting up a "go to source" link, is that needed in the new version?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
VIM 不错的选择!
看看这里:
http://dancingpenguinsoflight。 com/2009/02/python-and-vim-make-your-own-ide/
Good choice on VIM!
Have a look here though:
http://dancingpenguinsoflight.com/2009/02/python-and-vim-make-your-own-ide/