How do I indent these lines?

Is there a way to indent the code so it looks a bit cleaner?

Welcome to the forums!

It’s actually not on a new line, it’s just text wrapping. You can change this by going to Settings, then Wrapping.

6 Likes
  1. Click ⋮ (in the sidebar) > Show hidden files
  2. In .replit file change the wrapLineLength value to however many characters fit in a line in the editor
  3. Do CtrlS while viewing the file to format the code

you probably also want to Maximise[1] or resize the code pane to fit more characters


  1. (click ⋮ on the top-right of the pane > Maximise) ↩︎

5 Likes