atom-community / atom-community/ide-python

Improper folding in outline view

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

描述

I'm having some issues with the folding of functions/symbols in the outline view.

This appears to be triggered when I have lines of code that are too long and split into multiple lines. Variables that appear after this in a function do not get folded into the function in the outline view, and are instead given a new line.

![screen shot 2018-05-10 at 3 29 45 pm](https://user-images.githubusercontent.com/1795161/39897436-0adeb0b6-5467-11e8-800a-d92598030c8c.png)
![screen shot 2018-05-10 at 3 29 59 pm](https://user-images.githubusercontent.com/1795161/39897444-0e5940ee-5467-11e8-8773-104afe60b785.png)

贡献指南

打开贡献指南

调研方向

该 issue 涉及 Atom 的大纲视图在一条较长语句跨越多行时对函数和符号进行折叠的问题。首先复现报告的案例,并检查大纲视图如何放置拆分语句之后的变量;当这些变量仍嵌套在其所属函数下,而不是作为单独的大纲条目出现时,即表示完成。

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

评估

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

把新 issue 发到你的邮箱

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