lekemula / solargraph-rspec

Solargraph plugin supporting RSpec code completion
MIT License
37 stars 1 forks source link

Support for more 3rd party RSpec DSL/matchers #3

Open lekemula opened 6 months ago

lekemula commented 6 months ago

Other?

jdelStrother commented 6 months ago

I wondered about some sort of FactoryBot support - eg trying to jump to the definition for create(:blog_post) would jump me to the factory :blog_post do.... declaration.

Or, with regular Rails fixtures, whether blog_posts(:introduction) might be able to jump to fixtures/blog_posts.yml .

(Both sound quite hard to me, not sure what's possible).

lekemula commented 6 months ago

@jdelStrother thanks for bringing this up! As the topic of FactoryBot is slightly different from matcher utils, I created a separate issue, and will try to answer you there: https://github.com/lekemula/solargraph-rspec/issues/4

lekemula commented 3 months ago

Most 3rd party libraries support (soon to be released) is added here: https://github.com/lekemula/solargraph-rspec/commit/07f1394a08e58e045895392f03f55023ddfb724a