Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: Find references in Java and JSF/JSP [duplicate]

I have lot of legacy models in MVC application and there are lot of redundant properties in model classes.

Using CTRL + SHIFT + G in Eclipse I can find references in Java code, but not in my views, which are mostly JSP or JSF pages. Therefore, I cannot safely refactor code.

The only option then is plain String search which is not comfortable and more error prone. Is there solution?

like image 947
Xorty Avatar asked Jan 07 '12 15:01

Xorty


1 Answers

The JBoss Tools 3.3 plugin has this capability (and many more, such as tag and EL autocompletion). Note that it's currently still in development (beta) stage. You can get it in Eclipse Indigo (3.7.x) by Help > Install New Software and then entering the URL of this update site. In the list of available plugins components, just pick the "JBoss Web and Java EE Development" option (others are not required). No, this does not require a JBoss AS server as your project's target runtime.

enter image description here

like image 106
BalusC Avatar answered Sep 27 '22 18:09

BalusC