pxt-microbit
pxt-microbit copied to clipboard
JS editor: Intellisense for function randint() is not complete
Describe the bug JS editor: Intellisense for function randint() is not complete
Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta# 2.Create a new project 3.Type rand and choose the randint intellisense
Expect behavior
Complete intellisense for function randint() as in Python editor
Actual behavior
JS editor: Intellisense for function randint() is not complete.
Additional context 1.OS: Windows(rs6) 2.makecode.microbit.org version: 3.1.75 3.Microsoft MakeCode version: 6.13.18
By "not complete" do you mean it doesn't produce the full snippet "randint(0,10)" ?
If so, this is currently by design. We switched out the JS intellisense engine which came with a lot of fixes but snippet auto complete doesn't work in JS for any APIs right now.