Skip to content

Autocomplete for make doesn't work when Makefile uses include #11705

Description

@sarvesh4396

Pre-submit Checks

Describe the bug

When a Makefile splits targets across multiple files using include, Warp's autocomplete only shows targets defined directly in the root Makefile. Targets in included files are invisible to it.

Same setup in VS Code terminal (zsh): Tab completion correctly shows all targets including from included files. It works.

To reproduce

Root Makefile:

include makefiles/main.mk
include makefiles/experiment.mk

help:
    @echo "root"

makefiles/main.mk

up-main:
    docker compose up -d

down-main:
    docker compose down

Type make + Tab in Warp → only help is suggested, not up-main or down-main.

Expected behavior

All targets from included files should appear, since make treats them as one unified ruleset.

Screenshots, videos, and logs

No response

Operating system (OS)

macOS

Operating system and version

Tahoe - Version 26.3.1

Shell Version

zsh 5.9 (arm64-apple-darwin25.0)

Current Warp version

v0.2026.05.06.15.42.stable_05

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:completionsStandard shell completions, argument completions, and path completion.bugSomething isn't working.os:macmacOS-specific behavior, regressions, or requests.ready-to-implementThe issue is ready for implementation work.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.warp:auto-triage-review

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions