Re: Code formatting

2021-12-26 Thread Francisco Guerrero
Hi Manish,

You can run `ant generate-idea-files` to generate IntelliJ files. You can find 
more details here: https://cassandra.apache.org/_/development/ide.html

- Francisco

On 2021/12/26 09:37:01 Manish G wrote:
> Hi,
> 
> Is there any code formatter file which can be configured in intellij?
> 
> With regards
> Manish
> 


Code formatting

2021-12-26 Thread Manish G
Hi,

Is there any code formatter file which can be configured in intellij?

With regards
Manish


Re: code formatting

2018-01-18 Thread Joaquin Casares
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 
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
>
>


code formatting

2018-01-18 Thread Tyagi, Preetika
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