[FEATURE] Lines Range Syntax to memory query

Resolved 💬 8 comments Opened Nov 14, 2025 by dennypenta Closed Jan 15, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

When I need to update a small portion of a file I have to provide the entire file memory.

At the moment Claude forces to keep files small in order not to waste context.
Cursor has the feature to limit the files memory from the very beginning.

Proposed Solution

There are 2 options to make it:

  1. Implement lines range syntax e.g. @file.go:[12-24,…], might require update of ACP to support it in the editors.
  2. implement tree sitter based matchers syntax as ‘@file.go:[c:myStruct]’ to provide a class/function, not the best, because a query in Go for a class provides only a struct definition and doesn’t include its methods.

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

API and model interactions

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗