Skip to content
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

Add overrideCargo to CargoConfig #600

Closed
wants to merge 1 commit into from

Conversation

naari3
Copy link

@naari3 naari3 commented Dec 21, 2021

Add overrideCargo to CargoConfig.

This option allows user to replace cargo command with something else (well, something that is compatible with the cargo arguments).

Motivation is that some projects may have wrappers around cargo (or even whole alternatives to cargo), which do something related to the project, and only then run cargo. With this feature, such users will be able to use lens and run debug things directly from the IDE rather than from terminal.

This is also available in rust-analyzer/rust-analyzer, and this implemention and idea has been ported from rust-lang/rust-analyzer#5954

@naari3
Copy link
Author

naari3 commented Mar 4, 2022

#640 looks great for me! I'm going to close the PR for this one, as it seems to be better and more functional than the other one.

@naari3 naari3 closed this Mar 4, 2022
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.

1 participant