atom-community / atom-community/ide-python

"Hang Closing" option doesn't work.

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

描述

I can't seem to get closing brackets to outdent automatically using this package.

```python
a = {
1: 2,
3: 4,
}
```

When I type that, and press Enter after the fourth line, the leading whitespace should be removed when I have the "Hang Closing" option checked, but it doesn't.

Atom version: 1:27.2
ide-python version: 1.0.0

贡献指南

打开贡献指南

调研方向

在 Atom 中使用 ide-python 1.0.0 并启用 "Hang Closing" 选项重现该示例。跟踪 Enter 如何处理闭合括号的缩进,然后验证所示 Python 字典的前导空白会被移除,同时其他缩进行为保持不变。

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

评估

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

把新 issue 发到你的邮箱

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