Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No emmet expansions when multiple cursors are used #9571

Closed
medzhidov opened this issue Jul 21, 2016 · 6 comments
Closed

No emmet expansions when multiple cursors are used #9571

medzhidov opened this issue Jul 21, 2016 · 6 comments
Assignees
Labels
emmet Emmet related issues feature-request Request for new features or functionality

Comments

@medzhidov
Copy link

medzhidov commented Jul 21, 2016

  • VSCode Version: 1.3.1
  • OS Version: windows 10

Steps to Reproduce:

When you try write emmet function with multiple coursors, it will not be work.
Example:
If you try use emmet in next case, you get nothing, just ugly tabs

selector{
        height: 50px !|
        width: 50px !|
        top: -1px !|
}

Its very sadly, can you fix it?

@kieferrm kieferrm added the feature-request Request for new features or functionality label Jul 22, 2016
@egamma egamma added this to the August 2016 milestone Jul 26, 2016
@egamma
Copy link
Member

egamma commented Jul 26, 2016

Currently the implementation is intentionally checking for a single selection. Will investigate what it means to support multiple cursors.

@medzhidov
Copy link
Author

In this case i try use !important shortcut, but not succesfully.
It's need in a lot of cases.
Consider the following case:
I created 2-3 div's in html, and some time later i want add span in every div. I want type span and hit tab, but i can't do it, because VSC not supported emmet with multiple cursors.
I leave sublime and atom, but in them it works and it useful.

@egamma
Copy link
Member

egamma commented Sep 1, 2016

The current behavior is consistent with the way snippets are handled in the multiple cursor case.

@egamma egamma modified the milestones: September 2016, August 2016 Sep 1, 2016
@egamma egamma removed this from the September 2016 milestone Sep 29, 2016
@egamma
Copy link
Member

egamma commented Sep 29, 2016

Shifting - depends on the support of multi cursors in snippets.

@ramya-rao-a
Copy link
Contributor

With the work being done as part of #21943, multi cursor support is doable but the whole snippet expansion is still blocked by #16037

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented Jun 1, 2017

Changes for #21943 is merged.

Set emmet.useNewEmmet to true (in the latest Insiders dated 6/1 or above and eventually in the stable release of 1.13 and higher) to get emmet abbreviation expansions in the suggestion list.
This will work in multi cursor too

For details on this setting read #1952 (comment)

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
emmet Emmet related issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants