You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that this feature is not already implemented
This feature does not exist
Use case
Would be nice to have a "Jump to factory" link in test files similar to the "Jump to view" we have in controllers.
describe"#foo"doit"calls foo"do# "Jump to factory" link would appear here, once clicked would open the Widget factorywidget=create(:widget)widget.fooendend
Ps: considering one is using the factory_bot gem
Description
This would increase the productive of devs since they no longer will need to hit cmd+P to look for the factory file definition
Implementation
No response
The text was updated successfully, but these errors were encountered:
Because this feature will require factory_bot-specific knowledge, which is not a Ruby default tool, it should be provided through an addon instead. We will not provide this feature directly from ruby-lsp.
You can either build a standalone addon gem like ruby-lsp-rspec, or convince factory_bot to have a built-in addon like standardrb does.
I have checked that this feature is not already implemented
Use case
Would be nice to have a "Jump to factory" link in test files similar to the "Jump to view" we have in controllers.
Ps: considering one is using the factory_bot gem
Description
This would increase the productive of devs since they no longer will need to hit cmd+P to look for the factory file definition
Implementation
No response
The text was updated successfully, but these errors were encountered: