pxt-arcade icon indicating copy to clipboard operation
pxt-arcade copied to clipboard

python: no completion for controller.A.on_event

Open jwunderl opened this issue 4 years ago • 2 comments

Describe the bug

Python autocomplete (maybe js too, am in a python tutorial) seems to think controller === controller.A and only gives options like .any_button

2020-07-16 10 58 41

To Reproduce Steps to reproduce the behavior:

  1. Go to a python project
  2. type controller.A
  3. expect to see on_event
  4. See error

Expected behavior

should get a valid completion

jwunderl avatar Jul 16 '20 18:07 jwunderl

javascript completion for controller.A.onEvent results in code with error:

controller.A.onEvent.Pressed, function() {
    
})

shakao avatar Jul 16 '20 18:07 shakao

Still repros.

abchatra avatar Oct 17 '22 20:10 abchatra