Do the Prompts in Prompt Library in AI Assistant use the Rules files for context
If I setup prompts in the Prompt Library (https://www.jetbrains.com/help/ai-assistant/settings-reference-prompt-library.html) do they automatically use the rules I have setup in Rules (https://www.jetbrains.com/help/ai-assistant/settings-reference-rules.html) assuming I have a rule set to apply always?
For example, in my Rules file set to always, I define how I want my unit tests created. Does the Prompt in the Prompt Library for “Generate Unit Tests” import that Rules file when run, or do I need to duplicate the rules in the configuration of the prompt?
Please sign in to leave a comment.
That's a solid inquiry. What about attempting to execute the Generate Unit Tests prompt with Rules permanently switched on? I have observed that Rules still get applied, but the individual prompt might take precedence over them in case of a disagreement.
https://intellij-support.jetbrains.com/hc/en-us/community/posts/31830848331026-Do-the-Prompts-in-Prompt-Library-in-AI-Assistant-Among Us Online-use-the-Rules-files-for-context