Skip to content
← Back to Community
How to format the code in online ide ?
Profile icon
JokeHuang

How to format the code in online ide ?

Voters
Profile icon
RA1911026020106
Profile icon
RyanPablo
Profile icon
AbhinavKumar51
Profile icon
sivak19
Profile icon
CaioSilvestre
Profile icon
f4ww4z
Profile icon
liflovs
Profile icon
tejas15802
Profile icon
razdaniel
Profile icon
amanwork
Comments
hotnewtop
Profile icon
mwilki7

You want the repl to format it automatically?

Profile icon
JokeHuang

yes, auto indentation, or any shortuct @mwilki7

Profile icon
f4ww4z

This is probably a little late, but you can right click on the code and select 'Format Document'. The shortcut is Alt-Shift-F

Profile icon
cGIfl300

@f4ww4z Never too late, I were looking for a solution too, thank you.

Profile icon
rahtes

They have a button to do it at the top right corner of your editor.