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

Contributed snippet not working in embedded language #21046

Closed
octref opened this issue Feb 22, 2017 · 2 comments
Closed

Contributed snippet not working in embedded language #21046

octref opened this issue Feb 22, 2017 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug snippets verified Verification succeeded
Milestone

Comments

@octref
Copy link
Contributor

octref commented Feb 22, 2017

  • VSCode Version: Code 1.9.1 (f9d0c68, 2017-02-08T23:31:51.320Z)
  • OS Version: Darwin x64 15.6.0
  • Extensions:
Extension Author Version
concrete vscode 0.1.10
vscode-eslint dbaeumer 1.2.6
tslint eg2 0.8.1
Theme-TomorrowKit ms-vscode 0.1.3
debugger-for-chrome msjsdiag 2.5.3
vetur octref 0.3.6
vuehelper oysun 0.0.9
vscode-icons robertohuertasm 7.2.0
language-stylus sysoev 1.6.0
vim vscodevim 0.5.3

  1. Install an extension that contributes js snippets
  2. Try using it in <script> region in a html file
  3. Snippet won't be suggested.

However, if the snippet is in user-defined javascript.json, it'll be prompted when editing <script> region.

@octref
Copy link
Contributor Author

octref commented Feb 22, 2017

Probably should go to @jrieken.

@jrieken
Copy link
Member

jrieken commented Feb 23, 2017

Yes, the language isn't known yet because no file of it, just embedded content, has been opened yet. Because we lazy load languages and their snippets this happens...

@jrieken jrieken added this to the March 2017 milestone Feb 24, 2017
@jrieken jrieken added the bug Issue identified by VS Code Team member as probable bug label Mar 10, 2017
@rebornix rebornix added the verified Verification succeeded label Mar 30, 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 snippets verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants