Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed emmet plugin for eclipse and it works fine. The problem is that I couldn't enable the tab key to expand the abbreviation.

It writes the normal tab white space, I searched a a lot but I couldn't find the solution.

Please advise.

share|improve this question
    
Please give us screenshots or more information to help you better – user 99572 is fine Mar 13 '13 at 8:49
    
Which version of Eclipse? Are you sure Emmet works properly with that version? Have you tried restoring defaults for Emmet in case you changed some setting by mistake? – Karan Mar 13 '13 at 23:23
    
I'm using Version: 4.2.1, yes it's supported according docs.emmet.io/#supported-editors, no changed settings. I have another question how to delete a key shortcut in eclipse? I know about unbind but i want to remove the entire record. – Ya Basha Mar 17 '13 at 14:09
up vote 2 down vote accepted

I had the same issue. I believe I have not touched the setting, but I don't know why the Tab key does not work. I tried Ctrl+E instead and it worked for me.

share|improve this answer
    
You can also use the below link as a reference github.com/sergeche/emmet-sublime#tab-key-handler – Mahsa Apr 12 '13 at 3:51
    
thanx for your advice – Ya Basha Apr 12 '13 at 7:21
    
As per github.com/sergeche/emmet-sublime#tab-key-handler, tab will only work in limited syntax scopes (HTML, XML, HAML, CSS, SASS/SCSS, LESS and strings in programming languages (like JavaScript, Python, Ruby etc.). In other scopes, you need to use ctrl+e. Someone without ability to edit tried to edit that in and I'm just posting it here. Not sure if it's correct or anything else about it. – Frank Feb 5 '14 at 20:59

By default, Tab handler works in a limited syntax scopes: HTML, XML, HAML, CSS, SASS/SCSS, LESS and strings in programming languages (like JavaScript, Python, Ruby etc.). It means:

  • You have to switch your document to one of the syntaxes listed above to expand abbreviations by Tab key.
  • With Ctrl-E shortcut, you can expand abbreviations everywhere, its scope is not limited.

-- Tab key handler

share|improve this answer

I can resolve the problem in my notepad++ version 6.7.9.2. In Notepad++ open Settings menu, open Shortcut Mapper sub-menu then choose Pluggin commands tab. Search for Expand abbreviation and double-click it. Uncheck all check-boxes and choose Tab in the combo-box. Clik Ok button followed by Close button.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .