- This topic has 3 replies, 2 voices, and was last updated 7 years, 5 months ago by support-tony.
-
AuthorPosts
-
greybeardParticipantI cannot get emmet to work in my Webclipse AND my MyEclipse 2017 CI.
I have mac os x 10.11.6 (15G1510)
Neither <tab> nor ctl-option-enter work.
I have now run out of ideas regarding why it does not work
simplest nav>ul>li does not expand.
I even set the preferences > Web > Emmet to Restore Defaults
support-tonyKeymastergreybeard,
Sorry, it was not made clear in the Learning Center article which reflects the key binding for Windows and Linux. The key binding on the Mac is Command-Option-Enter. You can check this either through the General-Keys preferences page or by right clicking in the editor and going to the Emmet menu item which will bring up the sub-menu showing the key bindings for the Emmet functions.
Sorry for the inconvenience and thanks for reporting this; we’ll be improving the Learning Center article.
greybeardParticipantThank you for your reply. I tried it and …… it did NOT work.
The reason was that the string (say) “#nav>ul>li” started at column 1 in the text editor. If I have the start of the string at column 2 or more then it worked OK.On further investigation: it worked as expected when first character at column 1 ONLY IF I highlighted the text before invoking cmd-opt-enter.
That is to say: just leaving the cursor at the position immediately AFTER the “i” of “nav>ul>li” and the hitting cmd-opt-enter DOES not work if the string starts at col 1 in the editor window.
Is this expected behaviour?
But anyway, thanks to you, I can now emmet very well 🙂
support-tonyKeymastergreybeard,
It’s good to hear that emmet is working for you again. I couldn’t replicate the problem with column 1, however, if you meant “row”, rather than “column”, then we already have a problem report for that. However, note that this is only a problem if you are trying to expand an abbreviation on the only line in the file (that is, if you are starting with an empty file).
-
AuthorPosts