Hello.
I need some help. I am coding on PHP. I have “auto_indent”: true and “smart_indent”: false in user settings file in oder to have same indentation on next row as i have on previous and this fits me perfectly. But sometimes there is unexpected behavior.For example when i type definition of function it looks like smart ident turns on. Let me show on example: i write this
function function_name(parameter1, parameter2)
{
}
and in the moment when i press enter after first bracket caret will apear on next row between brackets with additional ident.
function function_name(parameter1, parameter2)
{
| //caret starts here
}
I dont need this. Please tell me how to turn off this behaviour. And also sometimes ident disappears automatically moving text left. I want to disable this too.
I am using Sublime Text 2.