Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Feature request: auto-complete version number in Cargo.toml #855

Open
azerupi opened this issue May 8, 2018 · 2 comments
Open

Feature request: auto-complete version number in Cargo.toml #855

azerupi opened this issue May 8, 2018 · 2 comments
Labels
enhancement Indicates new feature requests

Comments

@azerupi
Copy link

azerupi commented May 8, 2018

I just got this idea when starting a new project recently and wanted to share it to see if it was possible.

When creating a new project, I always find myself adding a couple of dependencies. The procedure is always:

  1. Type the name of the dependency in Cargo.toml
  2. Find the latest version by going to crates.io or using cargo search <dep>
  3. Fill in the version in the Cargo.toml

It would be really cool if the RLS (or the VSCode extension?) could quickly lookup the existing versions for a given package and propose the most recent one as auto-completion.

Would this be an appropriate feature for the RLS? And is this possible to implement within the current code base?

@alexheretic
Copy link
Member

This would be very cool indeed! I think it currently lies out of scope of rls functionality, a cargo-toml language server or ide-plugin could provide the functionality.

Though I do agree that it would be nice for such functionality to be provided for all rls users somehow.

@Xanewok Xanewok added the enhancement Indicates new feature requests label Mar 3, 2019
@Xanewok
Copy link
Member

Xanewok commented Mar 3, 2019

cc #785

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Indicates new feature requests
Projects
None yet
Development

No branches or pull requests

3 participants