79155467

Date: 2024-11-04 12:34:22
Score: 1.5
Natty:
Report link

In visual studio code doesn't exist an option to do this... anyway, you can write a script which, when you save a file, checks the line amount, then delete lines which goes over the imposed limit.

For example, you can exstablish 20 lines limit. Then, everytime you save the file, your script checks the number of lines and, if they are more than 20, it delete all lines > 20.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mass