chisel-template icon indicating copy to clipboard operation
chisel-template copied to clipboard

Add code formatting and update deprecations

Open chick opened this issue 3 years ago • 3 comments

Add .scalafmt support to project Format all scala files Update deprecated usage of chiseltest and scalatest

chick avatar Mar 03 '22 22:03 chick

I used Mill to build my project, and I tried running the command mill -i __.reformat, but it didn’t seem to format any files. I’m not sure if the source files are being detected correctly.

I also set override def millSourcePath = super.millSourcePath / os.up in my build.mill Could that affect Scalafmt’s behavior?

How can I check which files are being recognized by the formatter? Any suggestions would be appreciated!

Hidden-Seed avatar May 21 '25 09:05 Hidden-Seed

Hi @Knight112357 thanks for your interest in Chisel! You might want to start a discussion at https://github.com/chipsalliance/chisel-template/discussions rather than commenting on a 3-year-old issue :)

edwardcwang avatar May 21 '25 13:05 edwardcwang

Hi @edwardcwang thanks for your advice. Please see #138

Hidden-Seed avatar May 22 '25 07:05 Hidden-Seed