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

Diagnostic: Put controller actions in specific order #201

Open
marcoroth opened this issue Mar 2, 2024 · 0 comments
Open

Diagnostic: Put controller actions in specific order #201

marcoroth opened this issue Mar 2, 2024 · 0 comments
Labels
diagnostic Feature that implements a `textDocument/diagnostic` request. enhancement New feature or request feature Issue that implements a new feature.

Comments

@marcoroth
Copy link
Owner

It's quite a common practice to sort the methods in a Stimulus controller like:

  • initialize()
  • connect()
  • all actions (alphabetically)
  • disconnect()
  • any getter

We should have a diagnostic/auto-format fix to sort the controller actions in the right order

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

No branches or pull requests

1 participant