Understanding an Elements Solution

In Fire and Water, CodeBot can inspect the open Elements solution, understand projects and targets, work with the active editor, and read compiler messages. This lets it answer from the IDE's current state instead of guessing from filenames alone.

Ask CodeBot About the Solution

CodeBot can summarize the projects, targets, active project, and active target in the open solution.

Typical prompts:

  • "Explain this solution structure."
  • "Which project is active?"
  • "What targets are available for this project?"
  • "Switch to the iOS target before building."

Use this when the solution has multiple projects or targets and the task depends on which one is active.

Ask CodeBot About Build Messages

CodeBot can inspect compiler errors, warnings, and build messages for a file or for the whole solution.

Typical prompts:

  • "Find the errors blocking this build."
  • "Explain the warnings in the current file."
  • "Show me all compiler messages for the solution."
  • "Fix the first error and then rebuild."

Build-message tools are most useful after a build or when the user asks about current diagnostics.

Ask CodeBot to Work with the Active Editor

When your request is about the open file or selected code, CodeBot can read the active file, read the selected code, or paste a replacement at the cursor or over the selection.

Typical prompts:

  • "Review the selected code."
  • "Explain the method I have open."
  • "Replace the selected code with the simpler version."
  • "Convert this Oxygene file to unified class syntax."

Use active-editor requests when the visible selection matters. Use file-path requests when you want CodeBot to inspect or edit a specific file.