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

Support for TypeScript controller files #18

Open
marcoroth opened this issue Oct 11, 2023 · 4 comments
Open

Support for TypeScript controller files #18

marcoroth opened this issue Oct 11, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@marcoroth
Copy link
Owner

marcoroth commented Oct 11, 2023

Currently Stimulus controller files ending in .ts are not supported yet, because the stimulus-parser is not ready to parse TypeScript syntax just yet.

As soon as the stimulus-parser can properly parse TypeScript files we can also add support for TypeScript Stimulus controllers

@Zeko369
Copy link

Zeko369 commented Oct 11, 2023

Soon 👀 marcoroth/stimulus-parser#11

@marcoroth
Copy link
Owner Author

TypeScript support is coming in the next version of stimulus-parser 🎉

@natematykiewicz
Copy link

With stimulus-parser having been updated to support Typescript in 0.1.0, is there anything stopping Typescript support from being added to Stimulus LSP?

@marcoroth
Copy link
Owner Author

Stimulus LSP supports TypeScript files on main now. There are a few more things I wanted to wrap up first so I can release a Stimulus LSP 1.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants