Go to Source
Open the line of code that creates a component, from the running application.
Every component in the running application is created somewhere in your code. Copilot opens that line in your IDE.
Open the code behind a button
-
Right-click a component and point at Go to Source. Choose Instance created for the line that creates it, or Attached to UI for the line that adds it to the view.
-
Your IDE opens the file at that line.
Shortcuts
Select a component and press Ctrl+B to open the line that creates it, or Ctrl+Shift+B to open the line that adds it to the view.
For the best experience, use the Vaadin plugin for your IDE. See IDE Integration.