Joined: 20 Nov 2007 |
Posts: 14 |
|
|
|
Posted: Wed Sep 10, 2008 12:38 pm |
|
|
|
|
|
When I click Indent Code in the Edit menu without selecting anything, it indents the current line, regardless of where the cursor is on that line. If I select one or more lines, it indents all of those lines (even if the first or last is only partially selected).
You can control whether it uses tabs or spaces via the Editor Settings panel, as well as the number of spaces to use. You can also control some of the indentation behavior by choosing between smart indent mode, auto indent mode, or none, and setting or clearing the smart tabs setting. You can assign keystrokes to this via the Editor Shortcuts panel. You can also use the indent and outdent buttons on the editor toolbar.
If by indent you mean an intelligent reformat of a region of code, PhpED doesn't do that directly but does have hooks for running either PHP Beautify or Polystyle over entire files. Keep in mind that not everyone will be familiar with other tools, so simply saying that you want it to indent the same way as Zend studio won't tell others what you mean.
|
|