Plugins support coming?

Hello there,

been giving RubyMine a try lately and one thing that's already been bugging me in the intellij plugin is that apparently it does not include my rails' projects plugins into the code-detection/completion engine... e.g. acts_as_textiled declarations in models are marked as 'cannot find ...'.

Are there plans for any upcoming EAPs or the 1.0 release to properly include these plugins? What about gems specified in environment.rb?


Cheers,
-J

4 comments
Comment actions Permalink

Hello Jörg,

been giving RubyMine a try lately and one thing that's already been
bugging me in the intellij plugin is that apparently it does not
include my rails' projects plugins into the code-detection/completion
engine... e.g. acts_as_textiled declarations in models are marked as
'cannot find ...'.

Are there plans for any upcoming EAPs or the 1.0 release to properly
include these plugins? What about gems specified in environment.rb?


Most of the Rails plugins use heavy meta-programming to get themselves registered,
and there's no single standard way to implement the registration, so we cannot
promise that all of the cases will be supported. You can file JIRA issues
listing specific plugins that don't work, to make sure that we look at them.

Support for gems in environment.rb is in development right now.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Dmitry,

thanks for the answer! Are gems different in terms of metaprogramming usage? E.g. there are several plugins that are also gems at the same time.


Basically I think when you would be able to cover the most commonly used ones (restful_auth/open_id_authentication, attachment_fu/paperclip, will_paginate, thinking-sphinx) you would already reach a certain percentage of happiness and the 'exotic'/rarely used ones need extra treatment. I'll create one jira issue for these and post the link here right away...


-J

0
Comment actions Permalink

Hello Jörg,

thanks for the answer! Are gems different in terms of metaprogramming
usage? E.g. there are several plugins that are also gems at the same
time.


No. There are separate tasks: understanding which gems should be indexed
/ scanned for a particular Rails application, and understanding how they
register the methods and stuff (metaprogramming).

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.