-1
Replace two dots ".." to dereference operator "->"
while writing OOP PHP using ultraedit there is nice replacement of ".." (two dots) to to dereference operator "->"
is has sublime text 2 this function?
Служба підтримки клієнтів працює на UserEcho
Probably the easiest way would be to add something like this to your user keybinds file:
{ "keys": [".", "."], "command": "insert_snippet", "args": {"contents": "->"}, "context": [ { "key": "selector", "operator": "equal", "operand": "source.php" } ] }it is not working,
Well try just
{ "keys": [".", "."], "command": "insert_snippet", "args": {"contents": "->"} }and ensure you have a comma between every {"keys"...} section.
many thanks Joel
what other users use this like functionalty while writing their OOP PHP script?
or they type as "-" key then ">" key (but it's to slow)