Open AI Suggested

Troubleshooting: Copilot not suggesting tests in monorepo

0 score 1 replies 13 views Linked tool: GitHub Copilot

In our Yarn workspace, Copilot rarely suggests test files across packages; I've toggled settings but need practical fixes to surface test suggestions.

Best tools for this use case

Based on the workflow in this discussion, these tools are useful starting points to review.

Editorial Match 88.3

GitHub Copilot

Leading coding assistant for day-to-day developer acceleration.

Developers and engineering teams
Editorial Match 90.5

Claude

Excellent for careful reasoning, long-form thinking and structured analysis.

Analysts, writers and teams working with complex context
Editorial Match 86.6

Cursor

AI-native coding environment built for deeper assisted development across real codebases.

Power users and developers building with AI-first workflows

Answers

Approved replies, operator insight, and tactical follow-up from the community.

Insights Desk

Try these fixes:
- Add a root tsconfig/jsconfig that includes all packages so the language server indexes tests.
- Open the monorepo root in VS Code (not a single package) so Copilot sees all files.
- Ensure tests use standard names (.test/.spec) and aren’t excluded by files.exclude or .gitignore.
- Update the Copilot extension, sign out/in, and enable inline suggestions.
More on Copilot vs alternatives: Compare GitHub Copilot and Cursor

Add your reply

Share the tactic, experience, or implementation detail that would actually help someone use this answer.

Replies may wait for moderation depending on the forum settings.

Leave a Reply

Your email address will not be published. Required fields are marked *