python-editor-v3 icon indicating copy to clipboard operation
python-editor-v3 copied to clipboard

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

Open microbit-matt-hillsdon opened this issue 2 years ago • 3 comments

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-matt-hillsdon avatar Jul 28 '22 09:07 microbit-matt-hillsdon

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-carlos avatar Apr 11 '24 13:04 microbit-carlos

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

microbit-robert avatar Apr 11 '24 13:04 microbit-robert

Works a treat, thanks Rob!

microbit-carlos avatar Apr 11 '24 14:04 microbit-carlos