Skip to content

detect rust projects that are not on git root #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2025

Conversation

Leandros
Copy link
Collaborator

Imagine, you're having a project a few levels deep in your Git repository; the previous heuristic wouldn't be able to detect this. We know check whether a Cargo.toml exists on the git root before trying a few other options.

Imagine, you're having a project a few levels deep in your Git
repository; the previous heuristic wouldn't be able to detect this. We
know check whether a `Cargo.toml` exists on the git root before trying a
few other options.
@Leandros Leandros requested a review from crisidev April 25, 2025 10:26
Copy link
Owner

@crisidev crisidev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and simple enough.. this will close #49 if I am not mistaken.

BTW something changed in terms of dependencies during the upgrade to the new tower-lsp and I am having real troubles building and releasing new versions for the vscode extensions. I'll use this change to cut a new release today and fix that!

@crisidev crisidev merged commit 3a82571 into crisidev:main Apr 26, 2025
4 of 5 checks passed
@Leandros
Copy link
Collaborator Author

@crisidev: I'll need to check #49. I believe this is currently only applicable to the new cargo backend.

I'll take a look on Monday and refactor this logic into a separate function to apply it to both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants