-
Notifications
You must be signed in to change notification settings - Fork 43
Motif IntelliJ IDE Plugin Help
You can visualize and browse the entire Motif scopes graph by opening Motif plugin window and click the 'Refresh' button. Upon graph computation, you will see in the 'All Scopes' tab the list of root scopes. These scopes can expanded individually, but you can also expand the entire hierarchy to view all scopes by clicking the 'Expand' button.
In the 'All Scopes' tab, press CMD + f
and type the first letters of your scope name. You can navigate through matching scope with up/down arrow keys.
In the Project or Editor window, right click on your scope and select 'Motif' -> 'Show Ancestors'
In the Project or Editor window, right click on your scope and select 'Motif' -> 'Find Usage'
If you made code changes since the last time you refreshed the Motif graph, you need to update the Motif graph by clicking the 'Refresh' button. If your code has Motif error, UI will switch automatically to the 'Error' tab and display the list of errors. Selecting an error will take you in the editor window when this error is coming.
In the 'All Scopes' tab, click on your scope. The metadata panel below will display the display of objects it provides internally and externally (@Expose). It will also show the list of objects from the graph consumed by this scope. These entries can be expanded to reveal which scope is provided a given object.