After writing the code, when you suddenly want to write a whlie or an if sentence, indent question

Asked 2 weeks ago, Updated 2 weeks ago, 1 views

To write hundreds of lines of code and then put it in an if or while door I have to indent 4 spaces under the door if while But we can't indent each line one by one. Is there any way?

python

2022-09-20 15:12

1 Answers

Press Tab while dragging the leftmost or desired code (based on Visual Studio)


2022-09-20 15:12

If you have any answers or tips


© 2022 pinfo. All rights reserved.