- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: [netbeans] Find Usage
Fri, 2009-11-13, 04:55
On Friday 13 November 2009 06:49:18 Caoyuan wrote:
> BTW, have you tried my latest NetBeans commits? I tried to fixed
> something these days.
Yes, I have rebuilt NB and the plugin from current trunks state.
Fri, 2009-11-13, 05:57
#2
Re: [netbeans] Find Usage
On Friday 13 November 2009 06:58:01 you wrote:
> If so, can you give me an example that Find-Usages doesn't work? Thanks.
For standalone project:
- FU for vars founds declaration only (all vars I have tried in that project I have sent you)
- FU for lazy vals (say, HSess:34 in that project) - the same, or this error:
java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key ERR_CannotFindUsages
at java.util.ResourceBundle.getObject(ResourceBundle.java:384)
at java.util.ResourceBundle.getString(ResourceBundle.java:344)
at org.openide.util.NbBundle.getMessage(NbBundle.java:634)
at org.netbeans.modules.scala.refactoring.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.scala:340)
at org.netbeans.modules.scala.refactoring.ui.RefactoringActionsProvider.doFindUsages(RefactoringActionsProvider.scala:250)
at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doFindUsages(ActionsImplementationFactory.java:108)
at org.netbeans.modules.refactoring.spi.impl.WhereUsedAction.performAction(WhereUsedAction.java:62)
at org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction$ContextAction.actionPerformed(RefactoringGlobalAction.java:178)
at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1052)
Fri, 2009-11-13, 08:37
#3
Re: [netbeans] Find Usage
On Fri, Nov 13, 2009 at 12:37 PM, Andrew Gaydenko wrote:
> On Friday 13 November 2009 06:58:01 you wrote:
>> If so, can you give me an example that Find-Usages doesn't work? Thanks.
>
> For standalone project:
>
> - FU for vars founds declaration only (all vars I have tried in that project I have sent you)
> - FU for lazy vals (say, HSess:34 in that project) - the same, or this error:
Just committed fix for FU of vars
Lazy vals are bit different, may need more works.
--Caoyuan
>
> java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key ERR_CannotFindUsages
> at java.util.ResourceBundle.getObject(ResourceBundle.java:384)
> at java.util.ResourceBundle.getString(ResourceBundle.java:344)
> at org.openide.util.NbBundle.getMessage(NbBundle.java:634)
> at org.netbeans.modules.scala.refactoring.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.scala:340)
> at org.netbeans.modules.scala.refactoring.ui.RefactoringActionsProvider.doFindUsages(RefactoringActionsProvider.scala:250)
> at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doFindUsages(ActionsImplementationFactory.java:108)
> at org.netbeans.modules.refactoring.spi.impl.WhereUsedAction.performAction(WhereUsedAction.java:62)
> at org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction$ContextAction.actionPerformed(RefactoringGlobalAction.java:178)
> at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1052)
>
>
Fri, 2009-11-13, 08:57
#4
Re: [netbeans] Find Usage
On Friday 13 November 2009 10:25:57 Caoyuan wrote:
> Just committed fix for FU of vars
Thanks, just verified!
Andrew
On Fri, Nov 13, 2009 at 11:55 AM, Andrew Gaydenko wrote:
> On Friday 13 November 2009 06:49:18 Caoyuan wrote:
>> BTW, have you tried my latest NetBeans commits? I tried to fixed
>> something these days.
>
> Yes, I have rebuilt NB and the plugin from current trunks state.
If so, can you give me an example that Find-Usages doesn't work? Thanks.
-Caoyuan
>