bbcmicrobit / PythonEditor

A MicroPython editor for the BBC micro:bit that works with browsers.
https://python.microbit.org/
MIT License
196 stars 130 forks source link

Autocomplete: Window size too short for snippets #265

Open microbit-mark opened 4 years ago

microbit-mark commented 4 years ago

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

ngammarano commented 4 years ago

What happened with the autocomplete option in Python editor version 2?

I cannot find this option anymore, neither in https://python.microbit.org nor https://python.microbit.org/v/beta.

microbit-carlos commented 4 years ago

It will be deployed soon, we'll merge a couple of things and create a new beta version in the next couple of days.

microbit-carlos commented 4 years ago

The latest beta (v2.1.0-beta.1) should now be deployed to https://python.microbit.org/v/beta with autocompletion enabled.

image