How to use the Context Tags

How to use the Context Tags

When chatting with GameDev Assistant, your open scene nodes and file tree are automatically added as context with your prompts. However, other details of your project are not to avoid overwhelming the AI. How, then, can you send additional context like your scripts?

This is where context tags come in - which can be added via the Add button under the chat box.



Context tags allow you to send specific contexts with your prompt when and where they're needed. You simply just need to add the tag. Currently, the available contexts that can be added are below:

Context Tag
What it Sends
@OpenScripts
As the name suggests, this sends the content of any scripts you currently have open in the Godot editor. This is great if you need to ask questions about your code, or even need a specific script edited.
@Output
This sends any messages that might appear in the Output window (but not the Debugger window). This can be very useful for helping with debugging errors that appear in this window.
@Docs
While the AI is already working off the Godot Documentation, you can use this tag to force Godot to look at specific topics and articles.
@GitDiff
If you're using Git for version control, this will pass in the contents of the 'git diff' command.
@ProjectSettings
This will pass in project settings you have for your project, including the Input Map.