find usages of method in non-java files?

I don't know when but somewhere along the way Idea stopped searching for method usages in non-java files.

Or is my install broken and it works for everbody else?

btw I use build 3370 on windows XP

/Konstantin


7 comments
Comment actions Permalink

Find usages for methods in general never searched for usages in nonjava
files.
The usages of getters/setters in jsp:useBean are found for me.

Eugene.

"Konstantin Polyzois" <konstantin.polyzois@posten.se> wrote in message
news:24355572.1119258662975.JavaMail.itn@is.intellij.net...
>I don't know when but somewhere along the way Idea stopped searching for
>method usages in non-java files.
>

Or is my install broken and it works for everbody else?

>

btw I use build 3370 on windows XP

>

/Konstantin

>
>



0
Comment actions Permalink

I can't tell about past builds but 3370 no longer identifies method calls in jsp files using find usages for me. Maybe I was always just finding references to useBean classes, but I though it was identifying any java usage in the JSPs in 4.x line.

0
Comment actions Permalink

I see,
indeed in 3370 usages of java methods/fields/classes are not found in jsp
files.
Already fixed.

Eugene.
"Peter Thistleton" <no_mail@jetbrains.com> wrote in message
news:31240519.1119291095899.JavaMail.itn@is.intellij.net...
>I can't tell about past builds but 3370 no longer identifies method calls
>in jsp files using find usages for me. Maybe I was always just finding
>references to useBean classes, but I though it was identifying any java
>usage in the JSPs in 4.x line.


0
Comment actions Permalink

This is kind of off topic, but we use Spring alot, and I would love for rename refactorings to also rename related properties in Spring files. Is there a way to accomplish this now?
Example:

Spring:

  
]]>


I would love to be able to rename "someProperty" in "SomeClass", which will in turn rename my getter and setter - and then have that automatically find and rename the property reference in the spring file.

Just wishing...

- Andy

0
Comment actions Permalink

Yeah, that would be awesome. Using Spring and Hibernate is kind of a pain in the ass because of the refactoring issues like this one.

0
Comment actions Permalink

No, I'm afraid this is impossible now, but is quite feasible to have in
future (not in 5.0)
Eugene.

"Andy DePue" <no_mail@jetbrains.com> wrote in message
news:31620152.1119372524226.JavaMail.itn@is.intellij.net...

This is kind of off topic, but we use Spring alot, and I would love for
rename refactorings to also rename related properties in Spring files. Is
there a way to accomplish this now?
Example:

 public class SomeClass
> {
>  private String someProperty;
>
>  public String getSomeProperty() { ... }
>  public void setSomeProperty(...) {...)
> }
> ]]>

Spring:

>  
> ]]>

>

I would love to be able to rename "someProperty" in "SomeClass", which
will in turn rename my getter and setter - and then have that
automatically find and rename the property reference in the spring file.

>

Just wishing...

>

- Andy



0
Comment actions Permalink

No, I'm afraid this is impossible now, but is quite
feasible to have in
future (not in 5.0)


Before I delve too much into guessland (OpenAPI programming), do you think it would be possible to write a plugin to do it?

0

Please sign in to leave a comment.