jonnyhyman / jonnyhyman/MakePython

Editor >> Pasting code does not conform into proper indentation format

オープン
#15 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
good first issue help wanted
主要言語
Python
スター
5
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

説明

If pasting code into the editor, since the editor actually uses '\t' characters instead of standard 4 spaces for indentation, the indentation will most likely not match the overall indentation of the document.

The reason to keep '\t' characters as default indentation in the editor is because that is the default of PyQt / Qt's QTextEdit. Subclassing QTextEdit entirely and writing indentation from scratch would be the best fix for this.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by examining the editor's PyQt/Qt QTextEdit behavior for indentation and pasted text. Confirm how tabs are currently used and define the expected indentation after pasting code; done means pasted code conforms to the surrounding document's indentation without disrupting existing text.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
desktop
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。