缺少PyDev代码分析 [英] PyDev code analysis missing

查看:164
本文介绍了缺少PyDev代码分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Ubuntu 12.04中从APT安装了Eclipse 3.7.2,并在Eclipse中安装了PyDev。首先,它会警告未使用的导入和未使用的野外导入,但不再显示它们。但是,它可能会显示错误,如缺少括号。



我创建了一个新用户,并使用该用户安装了PyDev,问题仍然发生。如何启用警告?我没有更改代码分析设置。

解决方案

列出所有操作可以在这里解决,为了别人的方便,并提出这个问题关闭




  • 删除项目并重新创建它,这一次项目目录是PYTHONPATH


  • 删除您的python解释器设置,并在eclipse中重新设置 - 窗口首选项 - pydev -interpreter Python,刷新pydev索引


  • 项目 - >属性 - > PyDev -PYTHONPATH,都是空的。然后我添加源文件夹



I have installed Eclipse 3.7.2 from APT in Ubuntu 12.04, and installed PyDev in Eclipse. First, it warns unused import and unused wild import, but it no longer displays them today. However, it can display errors like missing parenthesis.

I created a new user, and installed PyDev using that user, problem still happens. How can I enable them for warnings? I have not change the code analysis settings.

解决方案

list all operations could solve it here, for others convenience, and make this question closed

  • remove the project and recreated it, and this time the project dir is the the PYTHONPATH

  • remove your python interpretor settings, and set it again in eclipse - window preference - pydev -interpreter Python, refresh the pydev index

  • Project -> Properties -> PyDev -PYTHONPATH, all is empty. I then "add source folder"

这篇关于缺少PyDev代码分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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