DVT PSS IDE User Guide
Rev. 24.2.24, 14 October 2024

9.6.2 Predefined Blueprints

AI Assistant comes with a set of built-in blueprints for common tasks:

Explain the selected code (chat)

  • Asks the LLM to explain the selected code in a concise manner.

  • The user request defined by the blueprint and the LLM reply appear in the chat. You can change the request, regenerate the reply or continue the conversation.

Add comments to the selected code (editor)

  • Asks the LLM to add comments above the selected code.

  • Changes appear in the editor. You can review and accept or revert the generated code.

Improve the selected code (editor)

  • Asks the LLM to suggest improvements for the selected code.

  • Improvements should appear as comments above the line that needs to be improved.

  • Changes appear in the editor. You can review and accept or revert the generated code.

Analyze and fix the selected code (editor)

  • Asks the LLM to find and fix any problems identified in the selected code

  • Fixes should appear in the editor alongside a comment explaining the bug and the fix.

  • Changes appear in the editor. You can review and accept or revert the generated code.

Note: All built-in blueprints provide additional context to the LLM (e.g. the whole file containing the selection).