In case answer by Erel didn't describe your situation, I have a different need:
Sometimes I rename views in my layout, and the class doesn't pick up on that. I solve that by inserting a character into the LoadLayout parameter, wait a second, and then delete said character. That will make the IDE reload the layout and correctly find my variables. (This wasn't all that well explained - let me know if I need to clarify.)