bbcmicrobit / bbcmicrobit/PythonEditor
Autocomplete: Window size too short for snippets
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 201
- 分支
- 126
- PR 合併指標
- 30 天內沒有已合併 PR
描述
micro:bit support #24390 and #24511
Hi, when I use the Python editor to code with the autocomplete function on, I often find the autocomplete field too short to see everything.
Here's a screenshot of a case where -I think- what I say is clear:

The partial solution I have found is to reduce the fontsize (with the "-"), and I see this:
image

Anyway, I think it would be great if you could adapt the autocomplete dimensions according to the text shown so that no zoom is needed to "solve" that.
Another possible solution woul be so allow the windo to scroll sideways to view the entire snippet
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,在啟用自動完成的 Python 編輯器中,使用如螢幕截圖所示的長程式碼片段重現問題。找出自動完成視窗的大小與溢位行為,接著驗證無需縮小字型大小即可顯示完整的程式碼片段,方法是調整尺寸或允許水平捲動。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- frontend
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100