| View previous topic :: View next topic |
| Author |
Message |
kahwee
Joined: 13 Jun 2009 Posts: 1
|
Posted: Sat Jun 13, 2009 2:46 pm Post subject: NetBeans 6.7 autoformating issues |
|
|
Some parts of the PHP auto format tool isn't working right in NetBeans 6.7 RC2:
Bad:
| Code: | var $validate = array(
'name' => array(
'rule' => array('minLength', 1)
),
'uri' => array(
'rule' => array('minLength', 1)
),
); |
Good:
| Code: | var $validate = array(
'name' => array(
'rule' => array('minLength', 1)
),
'uri' => array(
'rule' => array('minLength', 1)
),
); |
I recall the above used to be working fine in NetBeans 6.5. This didn't look right too:
Bad:
| Code: | return $this->find('list', array(
'conditions' => array(
"$field_before <" => $this->datetime($time),
'profile_id <>' => null,
),
'limit' => 1,
)); |
Good:
| Code: | return $this->find('list', array(
'conditions' => array(
"$field_before <" => $this->datetime($time),
'profile_id <>' => null,
),
'limit' => 1,
)); |
It's not critical but it would look a lot better and helps in coding. |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Mon Jun 15, 2009 11:42 am Post subject: NetBeans 6.7 autoformating issues |
|
|
Hi,
Dne sobota 13 Ĩervna 2009 16:46:53 kahwee napsal(a):
| Quote: | Some parts of the PHP auto format tool isn't working right in NetBeans 6.7
RC2:
Bad:
Code:
var $validate = array(
'name' => array(
'rule' => array('minLength', 1)
),
'uri' => array(
'rule' => array('minLength', 1)
),
);
|
already reported [1]. Feel free to file a new issue whenever the behaviour is
not as expected.
Thanks,
Tomas
[1] http://www.netbeans.org/issues/show_bug.cgi?id=166550
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|