What is the Default Code Style -> Scheme in IntelliJ

1.7k views Asked by At

I am new to IntelliJ. I have started using it recently and was looking to setup Google Java code style. At present "Default" is selected under Editor -> Code Style -> Scheme.

On clicking settings -> "Import Scheme" I see 2 options: 1) IntelliJ IDEA Code Style XML 2) Eclipse XML Profile.

IntelliJ IDEA Code Style XML => Is this same as Google Code Style?

What is the Default already selected in Scheme?

I was able to setup Google Code Style by downloading it. But need to understand the Default setup in IntelliJ. Any help is highly appreciated as couldn't find any similar question on StackOverFlow.

2

There are 2 answers

2
Julieta On

The default selection is Intellij built-in code style. It's not Sun or Google scheme, it's a different one.

0
Andrey On

You can set a certain scheme to be a project level or the IDE level. Project-level is applied only for current project - IDE-level will be used by all the projects. Default is the IDE level scheme.

Check also the documentation about managing code styles in IDE.