atom-community / atom-community/ide-python

Wrong [no-member] errors while members being detected

未关闭
#394 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
238
派生
40
PR 合并指标
30 天内没有已合并 PR

描述

Media is cool. ™

![Screenshot from 2021-08-13 21-50-39](https://user-images.githubusercontent.com/14151550/129396406-2eacad2b-150c-42fa-ae2e-9d41f8513642.png)

Well, as you see, the problem is, while the `wx` module member (e.g. the class) is detected, but it will show me this frustrating error. The error persists if I use the format of `from wx import Frame`. Amazingly, the autocompletion works (almost) fine, both for classes like `Frame` and their methods (e.g. `frame.SetFocus()`).

Perhaps this is an upstream bug, but not really sure about that, so I opened the issue here.

Note that, I tested the issue both with default and customized settings of the package, but none of them worked.

### Environment
- OS: Fedora Workstation 34
- Atom: v1.58.0 (AppImage)
- Tested package versions: 1.8.0, 1.9.3, 1.9.6

贡献指南

打开贡献指南

调研方向

在 Atom v1.58.0 中使用 ide-python 1.8.0、1.9.3 和 1.9.6,复现针对 wx 成员和 `from wx import Frame` 的 [no-member] 诊断,并将其与报告中可正常工作的自动补全进行比较。未指定任何仓库文件或测试;完成条件是确定该诊断属于此软件包还是上游组件,并记录经过验证的修复或上游调查结果。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, python
领域
tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。