NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
snippet by shortcut


Joined: 02 Aug 2014
Posts: 4
Reply with quote
Hi,

how do I do this: I type "cl", hit the spacebar and "cl" turns into "console.log();" with the pointer inside the brackets? Is it possible to define these shortcuts?

Regards,

Martin
View user's profileFind all posts by emakonSend private message


Joined: 02 Aug 2014
Posts: 4
Reply with quote
@probc2

Thank you! This works great. But why is it so complicated?

I love PhpED and I use it for years. Many other editors have a "auto-replace" feature, which is basically a shortcut followed by hitting the spacebar. Please include this feature and I will upgrade immediately! Smile
View user's profileFind all posts by emakonSend private message


Joined: 02 Aug 2014
Posts: 4
Reply with quote
@probc2

You made my day! The autocorrection even lets you set the cursor by using |. Perfect!
View user's profileFind all posts by emakonSend private message
snippet by shortcut
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
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic