Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

detect Cargo.toml in subfolders #223

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

adamtrilling
Copy link
Contributor

@adamtrilling adamtrilling commented Dec 31, 2023

If you have a repository where the rust project lives in a subfolder (say, a monorepo hosting several services), the crates extension won't activate unless you add a (possibly blank) Cargo.toml to the repository root. This PR addresses that - it now uses the same activationEvent check for Cargo.toml that the official rust-analyzer extension uses.

@serayuzgur serayuzgur merged commit a1886e0 into serayuzgur:master Jan 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants