I just installed the Emmet plugin for Netbeans, but I can't find in the docs how to trigger the code expansion.
You can install this plugin directly from NetBeans Plugin Portal: in NetBeans, open Tools > Plugins > Available plugins and find and install Emmet plugin.
Emmet is a free add-on for your text editor that allows you to type shortcuts that are then expanded into full pieces of code.
You can expand code using the default "ctrl+cmd+N" on a mac.
I came across this question trying to find out if there was anyway that I could configure the code expansion to trigger by just using the "tab" key.
Anyways, I hope this helps someone!
I am using netbeans ver 8.1 in ubuntu 15.10. After selecting your CSS code,use ctrl+alt+n to trigger emmet code completion.
You can't use the TAB key to expand abreviation from Emmet in Netbeans. Indeed if you chose the TAB key as shortcut for it, you will erase the shortcut for "Insert tab" and you will not be able to insert tabulation anymore...
The only way is to use the Code Templates in Netbeans and transform all the abreviation from Emmet into a code template, one by one :(
If you want, I've made the code templates for the CSS abreviations in Emmet (Only CSS). With that you can expand the abreviation just with TAB key.
Here is my Github (It's my first... I hope it will work well) https://github.com/Everice/NetBeans---Emmet-Code-Templates.git
I am using Netbeans 8.1 and ctrl+alt+N
working for me (My operating system is windows 10 )
you can use ctrl+cmd+N
If you are using MAC
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