Hello Preetika, You should be able to use the existing ant target: ant generate-idea-files.
Source: https://wiki.apache.org/cassandra/RunningCassandraInIDEA#Setup_Cassandra_as_a_Project_.28C.2A_2.1_and_newer.29 This will generate the necessary configurations including the official Cassandra code style. Cheers, Joaquin Casares Consultant Austin, TX Apache Cassandra Consulting http://www.thelastpickle.com On Thu, Jan 18, 2018 at 7:33 PM, Tyagi, Preetika <[email protected]> wrote: > Hi, > > I have a quick question on the code formatting for Cassandra using > IntelliJ. > I found a code formatter JAR here for Cassandra: https://wiki.apache.org/ > cassandra/CodeStyle?action=AttachFile&do=view&target= > intellij-codestyle.jar > > Does someone know how it can be imported to IntelliJ-Cassandra project > settings so that the code can be formatted automatically (using Ctr + Shift > + F command)? > Or is there a better way to do it? > > Thanks, > Preetika > >
