Giter Site home page Giter Site logo

Comments (6)

marcoroth avatar marcoroth commented on May 29, 2024

Hey @CharlieIGG, thanks for opening this issue!

You are right, the extension is probably too optimistic as-is right now. But both of the constraints you outlined are goals that I want to cover with the LSP.

  1. is tracked in marcoroth/stimulus-parser#9
  2. is tracked in marcoroth/stimulus-parser#29

The TypeScript one turned out harder than expected. I have a WIP version using the actual typescript parser using the Compiler API, but it's not really nice to work with. So I'm a little stuck on that one.

Please let me know if you have any insights or want to help. Thank you!

from stimulus-lsp.

CharlieIGG avatar CharlieIGG commented on May 29, 2024

Hey @marcoroth I'll try to have a stab at it in the next few days.

from stimulus-lsp.

marcoroth avatar marcoroth commented on May 29, 2024

Awesome @CharlieIGG, let me know if I can assist you in any way or have questions

from stimulus-lsp.

CharlieIGG avatar CharlieIGG commented on May 29, 2024

You can review this :) marcoroth/stimulus-parser#47

EDIT – Never mind, this is failing during build... need to figure out a fix

from stimulus-lsp.

CharlieIGG avatar CharlieIGG commented on May 29, 2024

Things are not looking great with acorn-typescript.

TSQuery looks more promising, but having no experience with it, it's taking me a while to figure out. I have a separate PR (WIP) here: marcoroth/stimulus-parser#48

I'll let you know as soon as I have something worth reviewing @marcoroth

from stimulus-lsp.

marcoroth avatar marcoroth commented on May 29, 2024

Hey @CharlieIGG, thanks for giving this a shot. Yeah, I think acorn-typescript looks more promising than it actually is. Also because it's not really feature-complete.

I'm actually surprised that there isn't a nice and easy-to-use TypeScript parser available.

Granted, I didn't know about TSQuery, but this already looks more promising!

from stimulus-lsp.

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.