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

Simply doesn't work in VS Code 1.5.3 #14

Closed
djihbril opened this issue Oct 10, 2016 · 7 comments
Closed

Simply doesn't work in VS Code 1.5.3 #14

djihbril opened this issue Oct 10, 2016 · 7 comments

Comments

@djihbril
Copy link

No description provided.

@abusaidm
Copy link
Owner

hello, please try update to latest vs code things should be ok there.

@djihbril
Copy link
Author

I am now on version 1.6.0 and is still doesn't work.
Is there any additional configuration I need to make this work?
Does the file I am working in need to be a particular extension (I am working with react .jsx files)?

@abusaidm
Copy link
Owner

hello,
yes currently this extention works on html and php files only, I will try add the support for jsx tonight or this weekend if i can.

@djihbril
Copy link
Author

Thanks a lot! this is pretty nice of you. While you are at it, could you also add support for .js files as well?
Sometimes you need to generate html elements from your .js files.
Again, thank you very much, I really appreciate it!

@faabiopontes
Copy link

Hey @abusaidm
I looked into it.
Adding these lines to package.json should do the trick.

{
  "language": "javascript",
  "path": "./snippets/snippets.json"
},
{
  "language": "javascriptreact",
  "path": "./snippets/snippets.json"
}

@abusaidm
Copy link
Owner

Thanks @faabiopontes I forgot to come back and add the js and react ones like @djihbril asked.

all added and published in version 0.0.18
Thanks for your help.

If you find any other issue please let me know and will do my best to resolve it

@djihbril
Copy link
Author

Thanks guys. Works like a charm.
👍 👍 for the prompt responses!

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

3 participants