atom-community / atom-community/ide-python

"Hang Closing" option doesn't work.

オープン
#125 コメント 3 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。