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

New emmet suggestions dont show up in an untitled file with HTML type #27773

Closed
roblourens opened this issue May 31, 2017 · 3 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug emmet Emmet related issues verified Verification succeeded
Milestone

Comments

@roblourens
Copy link
Member

#27316

  • Open a new untitled file
  • Set the file type to HTML
  • Add <html></html>
  • Type div in the middle and press tab. A tab is inserted.

I think it should do an emmet expansion?

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented May 31, 2017

@roblourens The command Emmet: Expand Abbreviation works. The auto-completion for the abbreviation doesnt show up

@jrieken In this case, the completion provider for html in the emmet extension never gets triggered.

I tried this in Go as well. In an untitled file with language mode mapped to Go, the completion provider is not called.

Any idea why this is so?

@ramya-rao-a ramya-rao-a added api bug Issue identified by VS Code Team member as probable bug labels May 31, 2017
@ramya-rao-a ramya-rao-a modified the milestones: June 2017, May 2017 May 31, 2017
@ramya-rao-a ramya-rao-a changed the title New emmet doesn't work in an untitled file with HTML type New emmet suggestions dont show up in an untitled file with HTML type May 31, 2017
@jrieken
Copy link
Member

jrieken commented Jun 1, 2017

Yeah, when registering the completion item provider you say { language: 'fooLand', scheme: 'file' }. The scheme-portion limits it to files on disk, so excluding untitled documents. I'd simply remove that.

@ramya-rao-a
Copy link
Contributor

Thanks @jrieken!

@ramya-rao-a ramya-rao-a added emmet Emmet related issues and removed api labels Jun 1, 2017
@dbaeumer dbaeumer added the verified Verification succeeded label Jun 2, 2017
@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
bug Issue identified by VS Code Team member as probable bug emmet Emmet related issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants