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

Does not expand some valid input #21

Open
graymatter00 opened this issue Jan 19, 2022 · 4 comments
Open

Does not expand some valid input #21

graymatter00 opened this issue Jan 19, 2022 · 4 comments

Comments

@graymatter00
Copy link

Installed product versions

  • Visual Studio: Community 2022 (64-bit) Version 17.0.5
  • This extension: 1.2.20

Description

Does not expand some valid input.

Steps to recreate

Tpye div>p and press tab.

Current behavior

Expands to: div><p></p>.
That is, the div tag is not expanded but the p tag is expanded.

Expected behavior

Should expand to:

<div>
    <p></p>
<div>

Additional info

Typing div>p*2 and pressing tab works as expected. Infact, div>p*1 also works expected.

@Anoromi
Copy link

Anoromi commented Jan 21, 2022

Doesn't occur to me in razor files with the same Visual Studio and extension version.

20220121_130323.mp4

@graymatter00
Copy link
Author

@Anoromi My project is ASP.Net/MVC based, using VB. Please try it in a vbhtml file to see if you can reproduce the issue.

@Anoromi
Copy link

Anoromi commented Jan 21, 2022

@graymatter00 Yes, the bug does occur. Only in vbhtml file, not cshtml nor razor.

@graymatter00
Copy link
Author

@Anoromi Thanks for the confirmation and clarification. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants