To access the latest features keep your code editor plug-in up to date.
You can ask free-form questions, or start your question with one of these commands:
The @explain
command prefix within Navie serves as a default option focused on helping you learn more about your project. Using the @explain
prefix will focus the Navie AI response to be more explanatory and will dive into architectural level questions across your entire code base. You can also use this to ask for ways to improve the performance of a feature as well.
The @diagram
command prefix within Navie focuses the AI response to generate Mermaid compatible diagrams. Mermaid is an open source diagramming and charting utility with wide support across tools such as GitHub, Atlassian, and more. Use the @diagram
command, and Navie will create and render a Mermaid compatible diagram within the Navie chat window. You can open this diagram in the Mermaid Live Editor, copy the Mermaid Definitions to your clipboard, save to disk, or expand a full window view. Save the Mermaid diagram into any supported tool such as GitHub Issues, Atlassian Confluence, and more.
Navie generates the following types of diagrams:
Entity Relationship Diagram Video Demo
These questions will guide the creation of a class diagram that illuminates the organizational structure of the system, helping to understand both the high-level and detailed design choices.
Below are a series of open source projects you can use to try out the @diagram
feature using
prebuilt AppMap data in a sample project. Simply clone one of the following projects, open
into your code editor with the AppMap extension installed, and ask Navie to generate diagrams.
The @search
command in Navie is a powerful tool for navigating complex codebases with ease. By leveraging smart search capabilities, you can locate specific code elements, relevant modules, or examples directly within the AppMap environment.
@search
command uses a smart agent to interpret queries, identifying and retrieving relevant code segments based on context.@search
command followed by your query.The @plan
command prefix within Navie focuses the AI response on building a detailed implementation plan for the relevant query. This will focus Navie on only understanding the problem and the application to generate a step-by-step plan. This will generally not respond with code implementation details, consider using the @generate
command which can implement code based on the plan.
@plan
Video Demo
The @generate
prefix will focus the Navie AI response to optimize for new code creation. This is useful when you want the Navie AI to respond with code implementations across your entire code base. This will reduce the amount of code explanation and generally the AI will respond only with the specific files and functions that need to be changed in order to implement a specific plan.
@generate
Video Demo
The @test
command prefix will focus the Navie AI response to optimize for test case creation, such as unit testing or integration testing. This prefix will understand how your tests are currently written and provide updated tests based on features or code that is provided. You can use this command along with the @generate
command to create tests cases for newly generated code.
The @review
command is designed to facilitate thorough code change analysis, leveraging Large Language Models (LLMs) to generate a code diff review that aligns with recognized software engineering standards. This command provides actionable insights on various aspects of code, ensuring alignment with best practices in areas such as code quality, security, and maintainability. Additionally, it allows users to enhance the review by pinning context specific architectural guidelines or design documentation relevant to their project. Navie structures each aspect of the review into actionable sections, clearly highlighting areas of improvement and best practice recommendations.
main
branch of your repository with the current HEAD
of your branch. If your source branch is a different name, adjust the review command using the /base
command.
Example: @review /base=master
@review
command automatically generates a git diff
for your code changes, preparing them for a detailed, AI-driven review.@review
command in the Navie chat window to start.
/base=[branch]
to change the name of the source branch you'd like to compare, default is main
Example: @review /base=master
Navie will help you setup AppMap, including generating AppMap recordings and diagrams. This prefix will focus the Navie AI response to be more specific towards help with using AppMap products and features. This will leverage the AppMap documentation as part of the context related to your question and provide guidance for using AppMap features or diving into advanced AppMap topics.