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

Tab competing class(#) or id(.) with name of tags doesn't work properly. #10

Open
monkh opened this issue May 13, 2018 · 3 comments
Open

Comments

@monkh
Copy link

monkh commented May 13, 2018

Installed product versions

  • Visual Studio: Community 2017 15.7.1
  • ZenCoding: 1.2.11

Description

When tab competing class(#) or id(.) with name of tags doesn't work properly.
For example #main produces #<main></main>

I've tried resting my visual studio environment and still happening.

Steps to recreate

Go into a html/cshtml file type any of the following

#main 
#header 
#div 
#map

They will produce

#<main></main>
#<header></header>
#<div></div>
#<map></map>

Expected behavior

It should produce the following output...

<div id="main"></div>
<div id="header"></div>
<div id="div"></div>
<div id="map"></div>

Interesting (#main^#header^#div^#map) produces expected outcome.

@AnalogWeapon
Copy link

Any workarounds known or fixes on the horizon for this one? This functionality is core, so the extension is pretty much useless with this bug.

@ScottSEA
Copy link

ScottSEA commented May 9, 2019

I thought maybe typing div#main might produce the right result, but it doesn't.

@flmbray
Copy link

flmbray commented Nov 3, 2019

I thought maybe typing div#main might produce the right result, but it doesn't.

At least as of most recent version (1.2.12, haven't checked earlier versions) the div#main syntax does work (as does #main by itself).

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

4 participants