FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Find Usages not finding usages in .erb files?

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
Chris Kutler
Posted via mailing list.





PostPosted: Mon Aug 18, 2008 11:31 pm    Post subject: Find Usages not finding usages in .erb files? Reply with quote

Hello,

Is Find Usages only supposed to look in .rb files? What if I want to
find all .erb files that use @post. Currently (beta), when I right-click
on @post in index.html.erb, it only lists usages in posts_controller.rb,
even though it is used throughout my .erb files.

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Tor Norbye
Posted via mailing list.





PostPosted: Wed Aug 20, 2008 7:20 pm    Post subject: Find Usages not finding usages in .erb files? Reply with quote

On Aug 18, 2008, at 4:17 PM, Chris Kutler wrote:

Quote:
Hello,

Is Find Usages only supposed to look in .rb files? What if I want to
find all .erb files that use @post. Currently (beta), when I right-
click on @post in index.html.erb, it only lists usages in
posts_controller.rb, even though it is used throughout my .erb files.

Yes - it's supposed to work. (See for example the second screenshot in http://blogs.sun.com/tor/entry/ruby_screenshot_of_the_week12
)

Can you file a bug report and attach your project and steps to
reproduce?

-- Tor


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Chris Kutler
Posted via mailing list.





PostPosted: Thu Aug 21, 2008 4:10 pm    Post subject: Find Usages not finding usages in .erb files? Reply with quote

done.

http://www.netbeans.org/issues/show_bug.cgi?id=144741

Tor Norbye wrote:
Quote:
On Aug 18, 2008, at 4:17 PM, Chris Kutler wrote:

Quote:
Hello,

Is Find Usages only supposed to look in .rb files? What if I want to
find all .erb files that use @post. Currently (beta), when I
right-click on @post in index.html.erb, it only lists usages in
posts_controller.rb, even though it is used throughout my .erb files.

Yes - it's supposed to work. (See for example the second screenshot in
http://blogs.sun.com/tor/entry/ruby_screenshot_of_the_week12 )

Can you file a bug report and attach your project and steps to reproduce?

-- Tor


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB