bbcmicrobit / bbcmicrobit/PythonEditor

Autocomplete: Window size too short for snippets

未關閉
#265 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 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:
autocomplete_truncated

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

autocomplete_ok

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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先,在啟用自動完成的 Python 編輯器中,使用如螢幕截圖所示的長程式碼片段重現問題。找出自動完成視窗的大小與溢位行為,接著驗證無需縮小字型大小即可顯示完整的程式碼片段,方法是調整尺寸或允許水平捲動。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
frontend
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。