How to disable editing assistance?
Is there a way to completely disable any editing assistance by default? Things like indentation, moving brackets to the next line and so forth. I am finally beginning to use the IDE, and I am struggling with the editor because how I like my code organized is very much different from what the assistant tries to do. So I am happy to just type it however I want and then later enable a thing or two that I think might help me.
Please sign in to leave a comment.
Hi there,
Completely at once -- no (AFAIK).
But check options at "Settings/Preferences | Editor | General | Smart Keys".
Thanks, Andriy! It is a bit hard to know what each of those descriptions really mean. I changed a few of them, let's see how it goes.
I do suggest however that the authors consider a complete turn off. It is a lot easier for newcomers to slowly turn them on over time than to get used right away to any specific set of choices.
There are little chances that developers would turn those off by default Those features are one of the core IDE features and they're being used by a majority of IDE users.
Hi Dmitry,
I am not sure we are talking about the same thing. Things like writing a function:
`function myFunction(){
// do whatever
}`
or:
`function myFunction()
{
// do whatever
}`
... some people prefer one way, others prefer the other. It is not a 'feature' to keep changing it back to the style a particular user does not like. Or to keep removing indentation from blocks that they do want indented, and things like that.
I hope the developers do consider just leaving as the user typed at first, and then maybe later they can find where to automatically adjust to their personal preference.
That's a Code Style -- adjust at "Settings/Preferences | Editor | Code Style | PHP".
It may also be Live Templates or File & Code Templates (e.g. when auto-generating method body etc) .. but they should use Code Style when applied.