Is there a way to have this feature in Notepad++:
- select some text
- insert an html
<tag>``</tag>
around it (ie.<strong>
,<em>
etc)
Is there a way to have this feature in Notepad++:
<tag>``</tag>
around it (ie. <strong>
, <em>
etc)I've found a plugin that does that, Webedit and it's available in Notepad++'s Plugin Manager (Plugins > Plugin Manager > Show Plugin Manager).
There's three ways to do this
Using the fingertext plugin
tag
" later).$[![]!]
to $[![(key)SELECTION]!]
You can install any of this:
select text, found and click menu "wrap with abbreviation".
tag
Ok
Using multiple edit steps:
Preparation step
Execute this step
Click before text, Ctrl+Click after text, like this:
` click here ` text Ctrl+` click here `
Typing whatever <tag>
, will be around like this:
<tag>
text<tag>
Press Ctrl+← twice, and type /
Solution found at https://stackoverflow.com/questions/34724634/notepad-shortcut-to-add-brackets-around-highlighted-text
1) Mark text
2) Goto Macro -> start recording
3) Cut highlighted text (CTRL+C)
4) Type: "{" then do CTRL-V then Type "}"
5) goto Macro -> Stop Macro
6) Save Macro as a shortcut
From a related question
Try going into TextFX / TextFX Settings and check 'auto close XHTML tags'. This makes it work in plain HTML files too. You may need to install it if using a newer version of Notepad++
Click Plugins > Plugin Manager > Show Plugin Manager On the "available" tab check the box by "TextFX Characters" Click Install Restart Notepad++ Enable the auto-close XHTM features as described above.
Is this what you had in mind?