atom-community / atom-community/ide-python
Outline View Update Trigger
- Ngôn ngữ chính
- JavaScript
- Star
- 238
- Fork
- 40
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Greetings:
I am in the process of evaluating Atom as a replacement for Sublime Text; particularly for Python development. This brought me to `atom-ide-ui` and `ide-python`. As instructed, I added `atom-ide-ui` first, installed `python-language-server`, and finally `ide-python`.
All seemed to be working fine. `pyflakes` highlighted issues; `Jedi` popups displayed docstrings for methods, functions, etc. Exploring additional features, I came across the Outline view. Sadly, I was greeted with an Octocat busy icon that did not go away.
I will exclude the posts, thoughts, ideas, and various rabbit holes fallen into I encountered as I tried to find a solution. In short, Outline view works... sort of.
* If a file is opened, Outline view is "busy", but other features (i.e. `pyflakes`, etc.) work.
* Given an opened file in Atom, closing and starting Atom up again, results in a populated Outline view. However, opening another file results in a "busy" view, while switching back to the previously opened file, shows valid content.
* When Outline view is "busy", a simply modification of the file, such as typing a space or return, causes Outline view to have valid content.
I suspect that whatever `ide-python` does to populate the Outline view is not triggered when a file is first opened. However, already opened project files when Atom is started or editing a file causes the appropriate trigger.
Best regards,
frelling
P.S. These are my environment-specific details:
* Atom: (1.35.1 x64), installed from Atom repo
* Atom Packages: atom-ide-ui (0.13.0), ide-python (1.4.1)
* Python: 3.7.3+, built from source
* Python Packages: python-language-server (0.26.1), plus dependencies.
* OS: CentOS Linux release 7.6.1810
* Kernel: 3.10.0-957.10.1.el7.x86_64
Hướng dẫn đóng góp
Hướng nghiên cứu
Không có tệp nguồn hoặc kiểm thử nào được nêu. Tái hiện hành vi với Atom 1.35.1, atom-ide-ui 0.13.0, ide-python 1.4.1 và thiết lập Python language-server được liệt kê, đồng thời so sánh lần mở đầu tiên, khởi động lại, chuyển đổi tệp và chỉnh sửa. Được xem là hoàn tất khi Outline view được điền dữ liệu lúc mở tệp lần đầu và sau khi chuyển tệp mà không cần sửa đổi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, python
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100