Emmet - plugin detail

Emmet for NetBeans

NetBeans Plugin - Emmet
Plugin owner: serge.che
Website: https://github.com/emmetio/netbeans
Added: 2013-04-10
License: MIT
Category: Editing
Downloaded: 9,213 times
Rating:
 4.12, by 2 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.48 MB   Last Update: 2013-11-10

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version



Verifications for NetBeans versions

7.4 verification PASSED See verification details
Download plugin   Download size: 0.49 MB   Last Update: 2013-04-29

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Killed zombie menu items

Verifications for NetBeans versions

7.3 verification PASSED See verification details
Download plugin   Download size: 0.49 MB   Last Update: 2013-04-29

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Killed zombie menu items

Verifications for NetBeans versions

7.2 verification PASSED See verification details


Introduction

Emmet — the essential toolkit for web-developers

Basically, most text editors out there allow you to store and re-use commonly used code chunks, called “snippets”. While snippets are a good way to boost your productivity, all implementations have common pitfalls: you have to define the snippet first and you can’t extend them in runtime.

Emmet takes the snippets idea to a whole new level: you can type CSS-like expressions that can be dynamically parsed, and produce output depending on what you type in the abbreviation. Emmet is developed and optimised for web-developers whose workflow depends on HTML/XML and CSS, but can be used with programming languages too.

Installation & usage:
https://github.com/emmetio/netbeans#readme

Read more about Emmet at:
http://emmet.io

[ You have to be logged in to be able to comment. ]

User Comments

  

Manual install on Netbeans 8 with v7.4


It also worked for me!
I knew nothing about nbm files.
Thanks a lot!
Posted by jolugaju on May 14, 2014
  

Manual install on Netbeans 8 with v7.4 seems to work.

I just downloaded the 7.4 nbm file and installed it manually:

Tools > Plugins > Downloaded > "Add Plugins" - Install it, and it seems to work.
Posted by JustAnil on May 08, 2014
  

Emmet for NetBeans 8.0

When is it going to be a version of Emmet for NetBeans 8?

Thanks!
Posted by jolugaju on Apr 09, 2014
  

RE

Hi. Where can I find the temporary nbm version to test it?

Cump's
Posted by oxigenio on Dec 06, 2013
  

RE: Freeze and blockquote wrap probs.; and suggestion

This problem has already been reported to github issues:
https://github.com/emmetio/netbeans/issues/3

I created a nbm for temporary. Please try to use it if possible.(you can find it in the above issue)
Posted by junichi11 on Nov 27, 2013
  

Freeze and blockquote wrap probs.; and suggestion

I too am having the lockup problem. It is intermittent, but under Linux and Windows, when I expand an abbreviation, usually it works right. However, all too often, NB will just become completely unresponsive, and has to be terminated by the Task Manager or System monitor.

For some reason, wrap works with most tags, but when you try to wrap with "blockquote", nothing happens. Nothing is inserted, and there is no error.

Finally, one suggestion. When you expand an abbreviation, you can hit tab or enter to jump to the next logical insert point. If there is only one such insert point (e.g. the text between paragraph tags), it seems like it would be slightly less annoying to not put it in that special mode that puts a rectangle around what you type in.
Posted by CodeLurker on Nov 17, 2013
  

Got error in 7.4

I installed emmet nbm to my new Netbeans 7.4 and tried to command, when I got error message as follows leaving key bindings.

------------------------------------------

org.mozilla.javascript.EcmaError: ReferenceError: "runEmmetAction" is not defined. (#1)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3717)
at org.mozilla.javascript.ScriptRuntime.getNameFunctionAndThis(ScriptRuntime.java:2123)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:95)
at org.mozilla.javascript.gen.c1._c0(:1)
at org.mozilla.javascript.gen.c1.call()
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c1.call()
at org.mozilla.javascript.gen.c1.exec()
at org.mozilla.javascript.Context.evaluateString(Context.java:1104)
at io.emmet.Emmet.execJSFunction(Emmet.java:109)
at io.emmet.Emmet.runAction(Emmet.java:124)
at org.lorenzos.emmet.actions.EmmetAbstractAction$1.run(EmmetAbstractAction.java:44)
at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:321)
at org.openide.text.NbDocument.runAtomic(NbDocument.java:436)
at org.lorenzos.emmet.actions.EmmetAbstractAction.actionPerformed(EmmetAbstractAction.java:49)
at org.openide.awt.InjectorAny.actionPerformed(InjectorAny.java:73)
at org.openide.awt.ContextAction$Performer.actionPerformed(ContextAction.java:226)
at org.openide.awt.ContextManager.actionPerformed(ContextManager.java:257)
at org.openide.awt.ContextAction.actionPerformed(ContextAction.java:109)
at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:93)
at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
at org.openide.awt.GeneralAction$BaseDelAction.actionPerformed(GeneralAction.java:234)
at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1176)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2940)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2842)
at java.awt.Component.processEvent(Component.java:6282)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
at java.awt.Component.dispatchEventImpl(Component.java:4731)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Posted by incheon on Oct 27, 2013
  

Emmet Crashing Netbeans when expanding or wrapping

Emmet freezes up netbeans sometimes when expanding or wrapping. happens on 7.3.1 and up even build. Currently developing on 7.3. will comment if this also happens there
Posted by stwessl on Jul 18, 2013
  

A useful NB Emmet blog post

Oracle has the following helpful post about Emmet:

https://blogs.oracle.com/netbeanswebclient/entry/emmet_plugin_for_netbeans_7
Posted by CodeLurker on May 27, 2013
  

RE: Can't find the plugin in Available plugins on NB dev

You should ask NP Plugin Portal maintainers. You NB dev version might have different version signature which is not currently available in Plugin Portal.
Posted by serge.che on May 06, 2013
  

Can't find the plugin in Available plugins on NB dev

I can't find the plugin in Available plugins in NB dev

Tried update catalogs:

http://dlc.sun.com.edgesuite.net/netbeans/updates/7.3.1/uc/final/certified/catalog.xml.gz
http://dlc.sun.com.edgesuite.net/netbeans/updates/7.3.1/uc/final/distribution/catalog.xml.gz
http://updates.netbeans.org/netbeans/updates/dev/uc/final/main/catalog.xml.gz
http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz

Fell back on manual download and local installation

What did I miss?
Posted by igvalor on May 06, 2013
  

Re: Updated plugin

Thx.
I'll proceed to validation asap.
Posted by ent38 on Apr 17, 2013
  

Updated plugin

I’ve pushed new plugin with lowered dependency versions, should work on 7.2
Posted by serge.che on Apr 17, 2013
  

Wrong build for NB7.2 ?

Hi,
the plugin works fine on NB7.3, but I have the following error on plugin install on NB7.2:


Some plugins require plugin Editor Code Templates to be installed.
The plugin Editor Code Templates is requested in version >= 1.30.1.1 but only 1.26.1.1 was found. The following plugin is affected:       Emmet
Some plugins require plugin Editor to be installed.
The plugin Editor is requested in version >= 1.70.1.5.21.40 but only 1.63.1.5.20.32 was found. The following plugin is affected:       Emmet
Some plugins require plugin Options Dialog and SPI to be installed.
The plugin Options Dialog and SPI is requested in version >= 1.31.1 but only 1.26.1 was found. The following plugin is affected:       Emmet
Some plugins require plugin UI Utilities API to be installed.
The plugin UI Utilities API is requested in version >= 7.55.1 but only 7.46.1 was found. The following plugin is affected:       Emmet
Some plugins require plugin File System API to be installed.
The plugin File System API is requested in version >= 8.5.1 but only 7.62.1 was found. The following plugin is affected:       Emmet
Some plugins require plugin Module System API to be installed.
The plugin Module System API is requested in version >= 7.35.1 but only 7.32.1 was found. The following plugin is affected:       Emmet
Some plugins require plugin Utilities API to be installed.
The plugin Utilities API is requested in version >= 8.29.1 but only 8.25.2 was found. The following plugin is affected:       Emmet Some plugins not installed to avoid potential installation problems.

I guess the plugin is built for NB7.3 only? Can you make a NB7.2 compatible version?
Thx!
Posted by ent38 on Apr 17, 2013
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo