Skip to content

[ENHANCEMENT] Add support for MQL file extensions (.mq4, .mq5, .mqh) #9345

@WgiteNoiseAgdam

Description

@WgiteNoiseAgdam

Problem (one or two sentences)

Roo Code currently cannot index MQL (MetaQuotes Language) files with extensions .mq4, .mq5, and .mqh. These files are used for MetaTrader trading strategies, expert advisors, and libraries. Roo Code treats them as unsupported file types and cannot properly process them for code analysis and indexing.

These extensions should be added to the fallback chunking list (similar to how Scala and Swift are handled) to prevent indexing failures and enable basic file analysis without crashes.

Context (who is affected and when)

Developers working with MetaTrader trading systems, expert advisors, and MQL strategies in their projects. When a project contains .mq4, .mq5, or .mqh files, Roo Code cannot index them, preventing proper code analysis and contributing to indexing errors or incomplete project understanding.

Desired behavior (conceptual, not technical)

Roo Code should recognize .mq4, .mq5, and .mqh file extensions as supported file types for indexing. These extensions should be added to the fallback chunking list to enable basic file parsing and analysis without crashes, similar to how Scala and Swift are currently handled.

Constraints / preferences (optional)

No response

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear context and impact

Roo Code Task Links (optional)

No response

Acceptance criteria (optional)

No response

Proposed approach (optional)

No response

Trade-offs / risks (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions