How to turn off auto indent in PHPSTORM

I'm trying to turn off autoindent in PHP Storm. I want it to not choose an indentation style for me.

1
7 comments

Hi there,

Please clarify what exactly the issue is (some simple code sample with your actions and what is happening and how it should be instead). Right now it's too broad to think on what is happening there and how it can be "fixed".

But in general -- have a look at options available at "Settings/Preferences | Editor | General | Smart Keys"

0
Avatar
Permanently deleted user

Hi did anyone find a solution to this problem? I really like intellij products but this bizzare indenting is making it difficult to use.

0

Indentation can't be disabled completely. 

In what cases this works not the way you want for you?

0
Avatar
Permanently deleted user

This is pretty bad on a switch statement:

 

```

if (strstr($HTTP_REFERER, $caller_page)){
switch($command){
case "Join":
echo "command: $command, username: $username,
email: $email, password: $password";
break;
case "SignIn";
default:
throw new \Exception('Unexpected value');

}
}
0
Avatar
Permanently deleted user

I cannot get case "Signin" to align with case "Join"

0
Avatar
Permanently deleted user

@... found the setting, its called unindent on backspace

1

Please sign in to leave a comment.