kwerle / ide-ruby

Atom package used to integrate https://github.com/kwerle/ruby_language_server with Atom. Development happens on the develop branch. Production is master.
23 stars 6 forks source link

Add support for rspec files #13

Closed olbrich closed 5 years ago

olbrich commented 6 years ago

Would it be possible to add support for Rspec files?

kwerle commented 6 years ago

Absolutely. That's something that annoys me, too.

kwerle commented 6 years ago

Moved to https://github.com/kwerle/ruby_language_server/issues/9

kwerle commented 6 years ago

Whoops. This will require support from ide-ruby after all. Specifically, it looks like it will need to support the rspec grammar parser. And it may also require support from the ruby language server.

kwerle commented 6 years ago

(yeah - if you tell atom that the rspec file is actually ruby you get no joy, so almost certainly both)

kwerle commented 6 years ago

"Support" is going to mean that rspec files will now be treated as any other ruby file in terms of completion. It won't give outline or anything like that (sadly). Consider migrating to minitest (blech) if you want outline.

kwerle commented 5 years ago

My solution is to not install any rspec support in Atom. This means that all spec files look like ruby to Atom, and I now do a pretty good job of 'treeing' rspec.