Class ProjectAlertsContextProvider

All Implemented Interfaces:
ContextProvider, PropertyChangeSource, Rebindable

public class ProjectAlertsContextProvider extends AbstractProjectContextProvider
Provides a real-time list of project compiler errors and alerts. Uses IntelliJ's native WolfTheProblemSolver to resolve files in error.
Author:
anahata
  • Constructor Details

    • ProjectAlertsContextProvider

      public ProjectAlertsContextProvider(Projects projectsToolkit, String projectPath)
      Constructs a new project alerts context provider.
      Parameters:
      projectsToolkit - The parent Projects toolkit.
      projectPath - The absolute path to the project directory.
  • Method Details

    • populateMessage

      public void populateMessage(RagMessage ragMessage) throws Exception
      Description copied from interface: ContextProvider
      Populates the given RagMessage with dynamic, just-in-time context parts. These parts are appended to the end of the user's prompt (RAG).
      Parameters:
      ragMessage - The message to be augmented with context.
      Throws:
      Exception - if an error occurs during context generation.