Notepad++ php custom shortcut key

Add Notpad++ plugin WebEdit after install successfully restart N++ and go to Plugins -> WebEdot -> EditConfig to open WebEdit.ini file. Add below code in [Tags] section to work Alt + Enter key.


pp=<?php echo "<pre>";\n\tprint_r(|);\necho "</pre> "; ?>
p=echo "<pre>";\n\tprint_r(|);\necho "</pre> ";
php=<?php ?>
if=if(){\n\n}else{\n\n}
pif=<?php if(!empty()): ?>\n\n<?php endif; ?>
for=foreach(){\n\n}
con=console.log();
e=echo
em=if(!empty()):\n endif;
br=echo '<br/>';

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s