Is it possible to apply HTML code on highlighted text like in Zend Studio 5?
For example:
Open preferences -> Editor -> Macros (in version 6.9.1)
Open Tools > Options > Editor > Macros (in version 8.0.1)
Add a new macro called something like "html-bold", then hightlight it. Paste this in the Macro Code section:
cut-to-clipboard "<b>" paste-from-clipboard "</b>"
Set a shortcut if you want. I tried it with CTRL+B and it worked fine.
Note that it will replace the current contents of your clipboard with the text you selected.
To learn more about Netbeans macros, see What useful macros have you created in Netbeans?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With