Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

up vote 1 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. –  chipperyman573 Feb 5 at 20:59
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.