bbcmicrobit / bbcmicrobit/PythonEditor
Code hinter causes incorrect entry
- 主要語言
- 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):

And here, one ")" character later, still fine (though I don't see how try/except is a good suggestion)

But then upon hitting enter key, that "a)" is replaced with the hinted block - not at all what user expects at that moment.

貢獻指南
研究方向
在 variables.py 範例中輸入內容以重現此問題,並按照螢幕截圖中顯示的游標和程式碼提示狀態進行操作。檢查在右括號後按下 Enter 時會發生什麼;當輸入的「a)」沒有被建議的區塊意外取代時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- frontend
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100