It is very rare who doesn't use vscode at this time. Almost all of us use visual studio code for our daily development and when we learn new technologies or new languages we always prefer our daily uses IDE or editor what you say.
So who are new to learn rust as usual you also finding some extension if i not wrong. Here is my preference to use this extensions to easy your journey with Rust and your beloved visual studio code.
Most probably you came across with official rust extension for vscode. At this time of writing rust official extension deprecated now.which was not able to go to definition.
By the way , rust analyzer solve this .
If you came from node.js ecosystem , you all know node.js use package.json file to track their dependencies and for many other things which is essential to run a node project.Rust also use something like that. But difference is rust doesn't use package.json file instead it use cargo.toml file.But problem is vscode doesn't recognize .toml file .That's why we don't get color highlighting feature.
CodLLDB extension helps to debug your code. When one new on a new language to debug our code we use console.log or print something like that. To get rid of this kind of action CodeLLDB help us more.
This extension is not for only rust. Cargo is the package manager of rust. You can check the dependencies of your packages in cargo.toml file.Here is a common problem of detecting outdated packages and sometimes there exist vulnerabilities with outdated packages .so it is good to be up to date with your used packages.Crates extension helps us to know about it.
Happy coding with rust.
Top comments (0)