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

Stopped working #225

Open
DagBjorndal opened this issue Feb 22, 2024 · 7 comments
Open

Stopped working #225

DagBjorndal opened this issue Feb 22, 2024 · 7 comments

Comments

@DagBjorndal
Copy link

Describe the bug
Stopped showing anything.

To Reproduce
Steps to reproduce the behavior:

  1. Insert name of any crate from crates.io into Cargo.toml under [dependencies]
  2. Append the usual equal sign with spaces and quotation marks (eg. tokio = "")
  3. Save the file
  4. Hover over the quotation marks
  5. Observe that no pop-up is shown

Expected behavior
A pop-up listing all version for the dependency should be produced.

Desktop (please complete the following information):

  • Raspberry Pi 5
  • OS: Raspberry Pi OS
  • Version: 6.1.0-rpi8-rpi-2712
@serayuzgur
Copy link
Owner

Please share error log from console.

@kmindi
Copy link

kmindi commented Mar 31, 2024

I noticed that the Cargo.toml was only recognized by VS Code as "Plain Text". When I installed an extension that adds support for TOML, TOML was detected for the Cargo.toml file and this crates plugin showed again the expected inline version icons.

@djc
Copy link

djc commented Apr 8, 2024

I've also been seeing some issues -- however, it seems to be inconsistent? In some VS Code workspaces it works, in others it doesn't. Current hypothesis: it only works in Cargo workspaces, not in single-crate Cargo manifests, maybe?

Where can I find these error logs that you're asking for?

@milen-denev
Copy link

Hello, it's not been working for me as well, since 0.6.6.

@Kidsunbo
Copy link

VSCode recognizes Cargo.toml as Plain Text and crates doesn't work with Plain Text. Just install Even Better Toml to make VSCode knows what toml is, and everything works.

@djc
Copy link

djc commented May 23, 2024

VSCode recognizes Cargo.toml as Plain Text and crates doesn't work with Plain Text. Just install Even Better Toml to make VSCode knows what toml is, and everything works.

I don't think this is accurate -- I have "Even Better Toml" installed but disabled all the time and it still works.

@Kidsunbo
Copy link

VSCode recognizes Cargo.toml as Plain Text and crates doesn't work with Plain Text. Just install Even Better Toml to make VSCode knows what toml is, and everything works.

I don't think this is accurate -- I have "Even Better Toml" installed but disabled all the time and it still works.

That's weird. I just tried disabling the Even Better Toml and then crates didn't work immediately.

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

No branches or pull requests

6 participants