Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I quickly re-indent a large number of files?

files large quickly
0
Posted

How can I quickly re-indent a large number of files?

0

DrJava has a very useful indenting algorithm, but indenting several large files can be time consuming. Because of this, we provide a command line interface to the indenter that you can run on a series of files. From a command line, use the following command to run the indenter: java -classpath drjava-VERSION.jar edu.rice.cs.drjava.IndentFiles [-indent N] [FILES] Where VERSION is the correct version number for your copy of DrJava and FILES is a list of the files you wish to re-indent. You can optionally specify the -indent argument, where N is the number of spaces to use for each indentation level. Note that tab characters are not supported.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123