bbcmicrobit / bbcmicrobit/PythonEditor

Code hinter causes incorrect entry

オープン
#141 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
Autocomplete bug
主要言語
JavaScript
スター
201
フォーク
126
PR マージ指標
30日以内にマージされた PR はありません

説明

This case found when typing in a _variables.py_ example.

Up to here, all entries and behavior is fine (note cursor position and code hint):
![image](https://user-images.githubusercontent.com/1266318/56397438-9456a200-61f8-11e9-81a2-f709e378046d.png)

And here, one ")" character later, still fine (though I don't see how try/except is a good suggestion)
![image](https://user-images.githubusercontent.com/1266318/56397442-96b8fc00-61f8-11e9-92ef-8b2d2d172ade.png)

But then upon hitting enter key, that "a)" is replaced with the hinted block - not at all what user expects at that moment.
![image](https://user-images.githubusercontent.com/1266318/56397444-9ae51980-61f8-11e9-9448-56e8be8e6f4f.png)

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

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

評価

この issue はまだ評価されていません。

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

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