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.
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.
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.
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
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.
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.
If you want emmet to work with jsp files, do the following:
In eclipse click on window
then click on preferences
In preferences window click on emmet
inside emmet click on field which says ...in files with extension
add ', jsp' to it
make sure 'expand abbreviations with tab key' is checked
hit Apply
and now hit ok
Now you are good to use emmet abbreviations in jsp file. To test it out create a jsp file, name it anything. then type '!' and hit tab key. It should create a blank html template. Hope this helps.