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

Code Action: Register controller after executing stimulus.controller.create #207

Open
marcoroth opened this issue Mar 3, 2024 · 0 comments
Labels
code-action Feature that implements a `textDocument/codeAction` request. enhancement New feature or request feature Issue that implements a new feature.

Comments

@marcoroth
Copy link
Owner

Currently when you have a stimulus.controller.invalid diagnostic and run the stimulus.controller.create code action you might still get another stimulus.controller.invalid diagnostic when the project doesn't auto-load controllers.

We should check when strategy the project uses and run the stimulus.controller.register code action after the stimulus.controller.create if needed.

@marcoroth marcoroth added enhancement New feature or request feature Issue that implements a new feature. code-action Feature that implements a `textDocument/codeAction` request. labels Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-action Feature that implements a `textDocument/codeAction` request. enhancement New feature or request feature Issue that implements a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant