Saturday 18 February 2012

【Ken】Windows Live Writer Tip -1

Has anyone find the trouble with automatic double space when you press enter
for new line.

eg.
<?php
class Person
{
$firstName; //a PHP string
$middleName; //a PHP string
$lastName; //a PHP string
$age; //a PHP Integer
$hasDriversLicense; //a PHP Boolean
}


So, How to avoid this?
Press Shift Key and click the Enter
It will make single space for next line
eg.
<?php
class A {
public $foo = 1;
}
$a = new A;

No comments:

Post a Comment