Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I trigger Emmet expansion in Netbeans?

I just installed the Emmet plugin for Netbeans, but I can't find in the docs how to trigger the code expansion.

like image 808
Bryan Avatar asked Sep 11 '13 17:09

Bryan


People also ask

How to install Emmet in NetBeans?

You can install this plugin directly from NetBeans Plugin Portal: in NetBeans, open Tools > Plugins > Available plugins and find and install Emmet plugin.

What does Emmet extension do?

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.


Video Answer


4 Answers

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!

like image 179
pat Avatar answered Oct 01 '22 15:10

pat


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.

like image 31
Noha Salah Avatar answered Oct 01 '22 15:10

Noha Salah


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

like image 29
Everno Avatar answered Sep 30 '22 15:09

Everno


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

like image 41
Shakil Hossain Avatar answered Sep 28 '22 15:09

Shakil Hossain