11
2
Is there a way to have this feature in Notepad++:
- select some text
- insert an html
<tag>``</tag>
around it (ie.<strong>
,<em>
etc)
11
2
Is there a way to have this feature in Notepad++:
<tag>``</tag>
around it (ie. <strong>
, <em>
etc)10
I've found a plugin that does that, Webedit and it's available in Notepad++'s Plugin Manager (Plugins > Plugin Manager > Show Plugin Manager).
Gone in v7.8.2. – Laurie Stearn – 2019-12-15T05:34:19.743
2
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 /
please explain fingertext again, that's confusing me. Let say a simple text "abc" and i want to enclose it in <b>abc</b> how to add its snippet. – Wasim A. – 2015-07-19T08:28:19.703
this should be the accepted answer . +1 – Obmerk Kronen – 2015-10-04T15:41:15.887
You can and should consolidate all 3 posts into one answer, actually – Journeyman Geek – 2012-11-21T01:50:47.337
1
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
0
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?
Maybe this related answer can help
http://stackoverflow.com/questions/3453151/notepad-multi-editing
Maybe this related answer can help https://stackoverflow.com/questions/34724634/notepad-shortcut-to-add-brackets-around-highlighted-text
– Patrice I – 2018-12-27T14:06:38.763Do you want to achieve this with a predefined set of HTML tags or with a dialog box? – Dennis – 2012-07-25T03:42:02.273
1If you solved the problem yourself, you can post an answer to your question and accept it. Others might benefit from it. – Dennis – 2012-07-25T11:24:25.413
surround for Vim is what you actually want. – nikhil – 2012-07-25T19:27:34.533