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

[Toolkits] Allow overwrite of bracket when inserting functions from API toolkit

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

Autocompleting to a function uses the same code in CodeMirror that's normally used for inserting a bracket so you get a bracket pair. The closing bracket can be overwritten. Ideally we'd reuse this same code when performing API drops.

I suspect this will be hard and/or not worth it so I've split it out so we can discuss priority.

microbit-matt-hillsdon avatar Jan 12 '22 15:01 microbit-matt-hillsdon

Historical note: the edits above are because the section now known as API was formerly called Reference (!)

microbit-matt-hillsdon avatar Oct 10 '22 13:10 microbit-matt-hillsdon