microbit-foundation / python-editor-v3

Micro:bit Educational Foundation Python Editor V3
https://python.microbit.org
MIT License
57 stars 37 forks source link

[Search] Cannot find "microbit.accelerometer" and similar module docs by typing accelerometer #850

Open microbit-matt-hillsdon opened 2 years ago

microbit-matt-hillsdon commented 2 years ago

Support: https://microbitfoundation.freshdesk.com/a/tickets/55541

You cannot find "microbit.accelerometer" and similar module docs by typing "accelerometer" in Search.

It works if you type the full module name of "microbit.accelerometer" but no-one is likely to do this.

We should reconsider what (or how) we index here to improve matching microbit.* module names.

microbit-carlos commented 5 months ago

If the technical solution turns out to be too complex, a workaround could be to mention the module name in the description. for example, SPI shows up because of that (but uart, i2c, etc don't).

image
microbit-robert commented 5 months ago

Some improvement was made in this PR which can be tested using the beta.

microbit-carlos commented 5 months ago

Works a treat, thanks Rob!