microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
713 stars 589 forks source link

Code formatting does not work in Javacript #3018

Open pelikhan opened 4 years ago

pelikhan commented 4 years ago

Pressing Shift+Alt+F does not reformat the code.

basic.forever(function () {
for (let index = 0; index < 5; index++) {
led.plot(index, index)
basic.pause(100)
} // repeat for loop from
for(let index = 0;index<5;index++) {
basic.pause(100)
led.unplot(index,index)
}
})
pelikhan commented 4 years ago

Formatting in python is also weird.

livcheerful commented 3 years ago

Shift-Alt-F works in JS now! But not for Python :\