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

Zen Coding expansion issue #24596

Closed
Seefer opened this issue Apr 12, 2017 · 5 comments
Closed

Zen Coding expansion issue #24596

Seefer opened this issue Apr 12, 2017 · 5 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) emmet Emmet related issues

Comments

@Seefer
Copy link

Seefer commented Apr 12, 2017

I just tried the following Zen snippet:

form>div.form-group>label+select

and this seems to insist on expanding to:

form>div.form-group>label+<select>

</select>

Where am I going wrong :)

  • VSCode Version: Code 1.11.1 (d9484d1, 2017-04-06T13:58:12.954Z)
  • OS Version: Windows_NT ia32 10.0.15063
  • Extensions:
Extension Author Version
html-snippets abusaidm 0.1.0
azuretoolsforvscode bradygaster 1.2.1
vscode-eslint dbaeumer 1.2.8
vscode-babel-coloring dzannotti 0.0.4
vscode-npm-script eg2 0.1.9
azure-iot-toolkit formulahendry 0.0.11
CppSnippets hars 0.0.7
beautify HookyQR 1.0.2
rest-client humao 0.14.1
csharpextensions jchannon 1.3.0
vscode-nuget-package-manager jmrog 1.1.2
Angular2 johnpapa 2.2.3
vscode-extension-auto-import moppitz 1.3.3
mssql ms-mssql 0.3.0
cpptools ms-vscode 0.10.5
csharp ms-vscode 1.8.1
PowerShell ms-vscode 0.12.2
vscode-azureextensionpack ms-vscode 0.0.4
team ms-vsts 1.115.0
azurerm-vscode-tools msazurermtools 0.3.4
vscode-docker PeterJausovec 0.0.13
view-in-browser qinjia 0.0.5
vscode-icons robertohuertasm 7.5.1
yo samverschueren 0.9.3
aspnet-helper schneiderpat 0.6.3
vscode-gulp tanato 0.0.4
usql-vscode-ext usqlextpublisher 0.1.13
application-insights VisualStudioOnlineApplicationInsights 0.4.1
bootstrap-3-snippets wcwhitehead 0.0.9
wilderminds-aspnetcore-snippets wilderminds 0.2.1

Steps to Reproduce:

@Seefer Seefer changed the title Zend Coding expoansion issue Zen Coding expoansion issue Apr 12, 2017
@Seefer Seefer changed the title Zen Coding expoansion issue Zen Coding expansion issue Apr 12, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Apr 12, 2017

I tested this in an html file and see this expanded to:

<form action="">
    <div class="form-group"><label for=""></label><select name="" id=""></select></div>
</form>

Can you try disabling all extensions by launching code with the --disable-extensions flag to see if one of those is the root cause

@Seefer
Copy link
Author

Seefer commented Apr 13, 2017

It works with extensions disabled. Thanks. I'll begin rooting out the culprit and post back.

@Seefer
Copy link
Author

Seefer commented Apr 13, 2017

As far as I can tell it appears to occur with this extension active.

https://marketplace.visualstudio.com/items?itemName=abusaidm.html-snippets

I've left a commend on the authors website and also noted others expressing issues with Zen code expansions.

@ramya-rao-a
Copy link
Contributor

I can repro this without the extension by having a user snippet with prefix "select" and trying to get emmet expansion on an abbreviation ending with "select"

This is yet another case of an item from the suggestion list taking precedence over emmet expansion and is being tracked in #1952

You have a couple of options for working around this.
See #1952 (comment) and #1952 (comment)

@ramya-rao-a
Copy link
Contributor

@Seefer

This is now fixed in the latest Insiders by having the emmet expansion in the suggestion list.
See #1952 (comment) for details

@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
*duplicate Issue identified as a duplicate of another issue(s) emmet Emmet related issues
Projects
None yet
Development

No branches or pull requests

3 participants