Theia API Documentation v1.77.0
    Preparing search index...

    Implements

    Index
    logger: ILogger
    problemManager: ProblemManager
    workspaceScope: WorkspaceFunctionScope
    ID: string = GET_FILE_DIAGNOSTICS_ID
    • Expands the range provided until it contains at least desiredLines lines or reaches the end of the document to attempt to provide the agent sufficient context to understand the diagnostic.

      Parameters

      • desiredLines: number
      • range: Range
      • documentLineCount: number

      Returns Range