Comment some line of code

hello,
how to comment , indent or unindent some line of code , without do it line by line ?

Welcome to the community, @DavidPantsulaia!

Assuming you are talking about writing code blocks in a post (since replit usually already does that for you), you can add comments in a code block. However, you can’t easily indent and unindent pieces of code.

You could create a file in a Repl and type your code there, and then copy everything and paste it here. If you want, you can submit a feature request at the #feature-requests category.

Toggle comment: Ctrl/
Unindent: ShiftTab
Indent: Tab

7 Likes

I had no idea about Ctrl + /. I’m going to use that!

I use Ctrl + [ && Ctrl + ], didn’t know you could use tab lol