


Or, press CTRL or COMMAND + SHIFT + A, then type "AppMaps" in the search box and pick the `AppMaps View" from the list.

Here is an example for the Pet Clinic application that is used in this demo:Įnter fullscreen mode Exit fullscreen modeĠ1:10 When you run the Maven test phase, the AppMap recording agent will record AppMaps from the tests and save them in the $buildDir/appmap folder of the project, one AppMap per each recorded test case.Ġ1:17 Open the AppMaps view - click on the AppMaps tab in the UI. You should add all the Java packages of your project. The AppMap framework uses a file called appmap.yml to determine which code to map.Ġ0:20 Create a new file appmap.yml in the root folder of your project. When the IDE restarts, the AppMap plugin is installed and ready for viewing AppMaps.Ĭonfigure AppMap for the Pet Clinic recording Click on the Install button, then click on Restart IDE.Select Plugins, click on the Marketplace tab and search for AppMap.The Pet Clinic project uses JUnit tests, which will be a source of AppMaps in this demo.Ġ0:12 Installing AppMap from the JetBrains Marketplace takes only a moment: A good way to create AppMaps is by recording unit, functional or integration test cases. Here are the step-by-step instructions that are demonstrated in the video, or you can follow the Quickstart for IntelliJ written instructions.ĪppMap works by recording code execution paths of your app and visualizing them in interactive diagrams directly in your code editor. It uses the Spring Pet Clinic as an example program. This 2 ¹/₂ minute video shows how to install the AppMap plugin, how to configure it to map your Java code, and how to navigate your code using the interactive diagrams. It does this by automatically generating interactive maps of architecture and code behavior right in your editor. AppMap is an open source IntelliJ IDEA plugin which helps you improve your code by showing you how it behaves, feature by feature, as you work.
