Open AI Suggested

Troubleshooting: Copilot not suggesting tests in monorepo

0 score 1 replies 69 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.

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

Community Access

Replying requires login

Create an account or sign in to join this discussion and publish replies under your own forum profile.

Sign in

Create account

Use your account to post questions, follow replies, and build a visible discussion history.

Leave a Reply

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