IDE does not indent chained methods ('->' at end or beg) |
|
Yea, this part is a bit buggy, would be nice if they fix it tough.
but... for ex if you indent yourself 2 ( or 3) of them next will became properly indented with "tab" but also I have noticed the autocomplate doesnt work in some of those cases, which is also a bit annoying |
||||||||||||
|
Guru master
|
I think it is more likely by design rather than a bug. Personally I prefer the indentation aligning at the previous line, then I indent myself accordingly.
I haven't myself seen autocomplete fail; seems to work wherever I place the -> |
||||||||||||
|
|
Yes, I agree it's fine to do your own indenting, but as soon as you use the "Re-indent Code" option, most of your continuation lines of the same statement line up with the starting line of that statement, rather than lines 2,3,4, etc. being indented 1 level.
It's not just when '->' is used in continuation lines as I mentioned in my original post. It seems PhpEd does this with many multi-line statements.
I think most people prefer continuation lines of the same statement to be indented 1 level, for obvious reasons of code readability. I hope the developer chimes in please?? |
||||||||||||||
|
|
I prefer the indentation aligning at the previous line,,,....!!!
|
||||||||||||
_________________ SI |
|
You prefer this?
|
||||||||||||||
|
IDE does not indent chained methods ('->' at end or beg) |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by