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

Emmet balance not working with typed components #77279

Closed
snoosmoomrik opened this issue Jul 12, 2019 · 4 comments
Closed

Emmet balance not working with typed components #77279

snoosmoomrik opened this issue Jul 12, 2019 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) emmet Emmet related issues

Comments

@snoosmoomrik
Copy link

  • VSCode Version: 1.36.1
  • VSCode Insiders Version: 1.37.0-insider
  • OS Version: Ubuntu 18.04

Steps to Reproduce:

  1. create typed FunctionComponent
    example:
import React, {FunctionComponent} from 'react'

interface IProps {
}

const SomeComponent: FunctionComponent<IProps> = (props) => (
  <ul>
    <li>item</li>
  </ul>
)
  1. put cursor on li tag
  2. run command Emmet: Balance (outward)

Current behavior: nothing happening
Expected behavior: li tag selected

Same bug with Emmet: Balance (inward).

Without <IProps> everything works well.

Does this issue occur when all extensions are disabled?: Yes

@snoosmoomrik snoosmoomrik changed the title emmet balance not working with typed components Emmet balance not working with typed components Jul 12, 2019
@vscodebot vscodebot bot removed the new release label Jul 14, 2019
@RMacfarlane RMacfarlane assigned octref and unassigned RMacfarlane Jul 15, 2019
@octref octref added emmet Emmet related issues feature-request Request for new features or functionality labels Jul 15, 2019
@octref octref added this to the Backlog milestone Jul 15, 2019
@samipshah100
Copy link

same her

@medeirosjoaquim
Copy link

same here

@sahilrajput03
Copy link

Yes, its not working for me too!!!

@rzhao271 rzhao271 added bug Issue identified by VS Code Team member as probable bug and removed feature-request Request for new features or functionality labels Nov 17, 2020
@rzhao271
Copy link
Contributor

This issue occurs because the current parser attempts to parse <IProps> as part of the HTML tree. Closing in favour of #99896

@rzhao271 rzhao271 added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 17, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2021
@rzhao271 rzhao271 removed this from the Backlog milestone Jan 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) emmet Emmet related issues
Projects
None yet
Development

No branches or pull requests

7 participants