Git Product home page Git Product logo

Comments (7)

faabiopontes avatar faabiopontes commented on June 19, 2024 1

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"
}

from html-snippets.

abusaidm avatar abusaidm commented on June 19, 2024

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

from html-snippets.

djihbril avatar djihbril commented on June 19, 2024

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)?

from html-snippets.

abusaidm avatar abusaidm commented on June 19, 2024

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.

from html-snippets.

djihbril avatar djihbril commented on June 19, 2024

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!

from html-snippets.

abusaidm avatar abusaidm commented on June 19, 2024

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

from html-snippets.

djihbril avatar djihbril commented on June 19, 2024

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

from html-snippets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.