If you rename or move MyClass, IDEA will correctly change the reference in a JSP, XML or anything else, as long as you mark the "Search in strings and non-java files" option.
But that only works if class's FQN mentioned. What Denis talks about is a 'hard' java reference we definetely should be aware of. Please file a JIRA issue if that doesn't work for you.
If you rename or move MyClass, IDEA will correctly change the reference in a JSP, XML or anything else, as long as you mark the "Search in strings and non-java files" option.
Yes, renaming & moving works, sorry. IMHO it would be better if IDEA could check up, autocomplete and navigate to declaration value of TYPE atttibute in <logic:iterate>, <bean:define> etc as in <jsp:useBean>. -- Denis Popov
Maxim Shafirov (JetBrains) wrote:
But that only works if class's FQN mentioned. What Denis talks about is a 'hard' java reference we definetely should be aware of. Please file a JIRA issue if that doesn't work for you.
>> If you rename or move MyClass, IDEA will correctly change the >> reference in a JSP, XML or anything else, as long as you mark the >> "Search in strings and non-java files" option. >>
But that only works if class's FQN mentioned. What Denis talks about is a 'hard' java reference we definetely should be aware of. Please file a JIRA issue if that doesn't work for you.
In the case of JSPs you should be able to pragmatically take into consideration the following:
If you rename or move MyClass, IDEA will correctly change the reference in a JSP, XML or anything else, as long as you mark the "Search in strings and non-java files" option.
But that only works if class's FQN mentioned. What Denis talks about is a
'hard' java reference we definetely should be aware of. Please file a JIRA
issue if that doesn't work for you.
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
Yes, renaming & moving works, sorry. IMHO it would be better if IDEA could check up, autocomplete and navigate to
declaration value of TYPE atttibute in <logic:iterate>, <bean:define> etc as in <jsp:useBean>.
--
Denis Popov
Maxim Shafirov (JetBrains) wrote:
>> If you rename or move MyClass, IDEA will correctly change the
>> reference in a JSP, XML or anything else, as long as you mark the
>> "Search in strings and non-java files" option.
>>
Maxim Shafirov (JetBrains) wrote:
In the case of JSPs you should be able to pragmatically take into
consideration the following:
<%@ page import="java.util.List,
java.util.ArrayList"%>
Sure
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"