How do I make the tab-key expand abbreviations for emmet in eclipse?

7,517

Solution 1

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.

Solution 2

You are probably trying to expand abbreviation in a file type that is not listed in Emmet settings, like jsp. After installing Emmet in Eclipse you can go Window->Preferences->Emmet and add jsp to "…in files with extensions" box. After that Tab key will expand abbreviations in jsp files. Eclipse 4.5.2

Share:
7,517

Related videos on Youtube

Ya Basha
Author by

Ya Basha

Updated on September 18, 2022

Comments

  • Ya Basha
    Ya Basha over 1 year

    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.

    • user 99572 is fine
      user 99572 is fine about 11 years
      Please give us screenshots or more information to help you better
    • Karan
      Karan about 11 years
      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?
    • Ya Basha
      Ya Basha about 11 years
      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.
  • Mahsa
    Mahsa about 11 years
    You can also use the below link as a reference github.com/sergeche/emmet-sublime#tab-key-handler
  • Jon
    Jon over 10 years
    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.