Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Orion (Archived) » Emmet(Emmet wrap selection)
Emmet [message #1781355] Tue, 06 February 2018 11:15 Go to next message
Michel Lecomte is currently offline Michel LecomteFriend
Messages: 5
Registered: February 2018
Junior Member
Hello,

I am new to Eclipse. Before I used Sublime text with emmet plugin. In Sublime I can select the sentence then hit Ctl+W to wrap the selection with a new abbreviation. How can I do with Eclipse ?
Quote:

Example : if I select the word "Lorem" then hit ctl + w Sublime shows me the wrap abbreviation with the default "div tag". If I hit Enter key then I will get <div>Lorem</div>. I can define something else in the wrap abbreviation panel of course..


Thank.
Re: Emmet [message #1781646 is a reply to message #1781355] Sat, 10 February 2018 10:21 Go to previous message
Michel Lecomte is currently offline Michel LecomteFriend
Messages: 5
Registered: February 2018
Junior Member
Open Eclipse preferences - Keys - Go to down until you see:
Quote:

Wrap with Abbreviation

Default keys are Shift+cmd+A. I changed to Shift + cmd + B to avoid conflict.
In the Editor type Lorem10 + tab key then select the sentence then hit shift+cmd+a. From the wrap with abbreviation window enter the tag you want to surround with (ex type div) + Enter.
Next time when you select a new sentence and hit shift+cmd+a use the down arrow key to select a previous recorded abbreviation tag or type a new one.

Nota: Emmet plugin must be installed prior to use it.

Hope will help someone.

[Updated on: Sat, 10 February 2018 10:22]

Report message to a moderator

Previous Topic:css content assist
Next Topic:Local Terminal
Goto Forum:
  


Current Time: Tue Apr 23 17:14:58 GMT 2024

Powered by FUDForum. Page generated in 0.03069 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top