I use code templates a lot, but I'd love to make use of more than one pip-characters (|) in my templates. For example, I'd love this code template to work:
<?php foreach(|): ?>
|
<?php endforeach; ?>
|
So when I use the template, the first position of the cursor will be within the foreach() tag. After the tab-key is hit, the cursor will move to the next |-character, outside the php-code.
There are a lot more examples I could give, like:
while(| = mysql_fetch_assoc(|)) {
|
}
|
This one uses three positions. If using the tab-character is a problem to use as a shortcut, maybe another shortcut is an option. Anyway, I'd love to see this in phped.
Shouldn't be to hard *cough*