Get your *FREE Rust training* : letsgetrusty.com/bootcamp
@dezly-macauley2 ай бұрын
Excellent now I can use Neovim in the VS Code terminal like a true menace to society.
@rawvoxel2 ай бұрын
@@dezly-macauley diabolical
@Luclecool1232 ай бұрын
2025 come one man
@shateq2 ай бұрын
why not?
@Takatou__Yogiri2 ай бұрын
he is from future.
@bob_pm2 ай бұрын
always one step ahead
@georgehelyar2 ай бұрын
This video implements the Future trait
@v-sig23892 ай бұрын
@@shateqthat is one of the most cringe, sad and low iq way to attract people. He is shaming us all with "that part of the web" vibes.
@alexipeck42012 ай бұрын
A tip for Dependi if you don't know the latest version for a crate, if you leave it blank (rand = ""), you can just hover over it and select the version.
@not_kelbaz3 күн бұрын
Or you can use cargo add :)
@aromia18322 ай бұрын
Summary: 1. install rustup - the basic component of rust 2. install VS Code - our editor 3. install VS Code extension "rust-analyzer" - the official extension for rust 4. install VS Code extension "Dependi" - for parsing and better display of cargo.toml 5. install VS Code extension "Error Lens" - inline displaying error msg, more straightforward 6. install VS Code extension "Todo Tree" - highlighting todo comments in ur code and traverse them in the side panel 7. install VS Code extension "GitHub Copilot" - no explanation needed :)
@T1Oracle2 ай бұрын
After I learned Helix Editor, I stopped coming back to VS Code. Zed was cool too, but not still needs more UI polish.
@ok-alarm2 ай бұрын
Helix is just 👌👌
@rawvoxel2 ай бұрын
Ayyye Helix gang 😎
@pierreollivier12 ай бұрын
Helix is truly the GOAT, there's no editor out there with such performance/stability/features.
@maleldil12 ай бұрын
@@pierreollivier1 without plugins, it's much more limited than neovim. If you're someone who doesn't require that, it's a really good editor. I much prefer Helix/Kakoune mode style, but I can't live without some neovim plugins.
@tommy.33772 ай бұрын
And I was just about to start writing code on zed :'(
@OfficialViper2 ай бұрын
Pro tip: Go into your settings and somewhere there is a cargo command defined (I think it's check, build or fmt). Change that to clippy. Error Lens will now use clippy to also show you linter errors in-line instead of just compiler errors.
@ZoltanTemesvari_temy2 ай бұрын
Lightweight?
@lcssbr2 ай бұрын
True if compared to Full IDEs, but false when compared to other text editors like Sublime Text, Zed, Helix, Lapce, etc.
@letsgetrusty2 ай бұрын
Relative to other IDES (JetBrains, Visual Studio, Etc.)
@mrtitanhearted38322 ай бұрын
0:11 LIGHTWEIGHT caught me off guard, without extensions it maybe, but to make it feel like an IDE, you install a tone of them and your laptop starts crying, begging for mercy
@de_mon20842 ай бұрын
Agreed although it certainly is lightweight compared to VS (the other one)
@Cwyrm2 ай бұрын
this is true of every "lightweight" editor though. My friend has a Neovim setup that has enough extensions that it takes like a second for syntax highlighting to catch up.
@Dominik-K2 ай бұрын
Same, lightweight is... Not VS for me
2 ай бұрын
I have a 16 processing units with 32 gb of RAM machine. It's lightweight for me.
@hellelo.58402 ай бұрын
Actually its lightweightb compared to JETBRAIN products and Microsoft VS
@RenaudDenisАй бұрын
Thank you for the tips! Useful when you switch IDE or start your Rust journey and look at the overwhelming extension list VScode offers. Just wondering: sometimes the C/C++ extensions are recommended instead of CodeLLDB. Is there a major difference between them (for debugging)?
@s1v72 ай бұрын
what about Rust Test Explorer?
@aarondelarosa31462 ай бұрын
Excellent. I've got a Rust code, but I don't know how to run it.
@ok-alarm2 ай бұрын
any helpful configs for Helix editor for rust?
@pierreollivier12 ай бұрын
You can go on their repo they have a language.toml that can help you with any language
@poloaotomato2 ай бұрын
add these to your settings.json ``` "[rust]": { "editor.defaultFormatter": "rust-lang.rust-analyzer", "editor.formatOnSave": true, "editor.formatOnType": true, "editor.insertSpaces": true, "editor.tabSize": 4, }, "rust-analyzer.check.command": "clippy", ```
@RenaudDenisАй бұрын
I would also add one important detail: Test Explorer is not enabled by default in the Extension Settings. Checking this activates Test Explorer integration, which is super handy,
@sdramare8642 ай бұрын
Your step-by-step instructions are really cool! Could you please create a video with the same level of detail on how to find a job as a Rust developer?
@codeitlikemiley2 ай бұрын
i have built a vscode plugin called cargo-runner press [CMD or CTRL] + R to to quickly run , build, test/doctest , bench and debug your rust code if you need to override command parameters that persist on succeeding CMD + R you can do so by pressing CMD/CTRL + SHIFT +R it would either prepend or append those parameters or ENV var for rust projects that dont use cargo , as the default command e.g. leptos or dioxus you can override the default command cargo to e.g. leptos or dx by making a Makefile it would use that command instead of cargo. I used this on production rust app to help me speed up development time I have posted this twice and it got deleted LOL
@dampfwatze2 ай бұрын
I would always recommend C Spell extension!
@dangelgeek2 ай бұрын
very helpful, thank you!
@DmitryKoleev2 ай бұрын
Thank you! Very useful extensions.
@Luxubu20203 күн бұрын
Awesome. Thank you!
@sososo39062 ай бұрын
Todo Tree looks great, i would also add unwrap to it to make me make the program safe. Btw, i would also add grammar checker extension
@nicholas_obert2 ай бұрын
How about a zed setup for rust development? I know zed has native rust support, but it's still not quite like vscode
@Matt234882 ай бұрын
VS Code is fine. Most time spent writing code is actually spent thinking. The gains you get from VIM motions are negligible.
@Nitiiii112 ай бұрын
@Matt23488 It's about the flow, not only about saving time.
@natrixnatrix2 ай бұрын
Eh, it's ok. The biggest issue is that you quickly run into a ceiling. I ditched VsCode once I noticed that I spent more time on getting extensions and language servers to work with it than with neovim. Neovim was something I had mostly just been messing around with as a hobby in my spare time up until that point. The thing is that with something like neovim you slowly learn not only the motions but also how the editor works under the hood and how to modify it. And while you also do that with vscode, neovim at least is a lot easier to work with. My use case may not be the standard though since my work often requires me to work with different programming languages in a variety of different environments. Quickly getting code highlighting, debuggers, and language servers up and running is important to me since it's something I have to do every other week. But if you are only writing typescript in the same webframework for the entire year then that is probably not as relevant.
@user-rg7ux5hn5t28 күн бұрын
whats about the plusins; "Rust"copilot github "crates"
@InternetEntreprenuer2 ай бұрын
if your writing in rust you should be using zed which is made in zed. Zed does everything perfectly
@footballCartoon912 ай бұрын
Can you make a video on how to use or how to pass around a singleton in rust ? Especially if those singleton object stores the representative of the heap allocated object in the form of pointer as part of it's attribute. Let's assume I have a class called `Renderable`. It has a `Sprite' which takes image file path as argument. So, `Sprite` doesn't implement `Copy` and `Clone` trait. Then I have `Decal` which needs to take ownership from `Sprite`. For some reason, they didn't make a function that takes a `Sprite` reference. So that is basically impossible to create a `Renderable` class.
@kelechiukah80252 ай бұрын
can Renderable instead have an Option so that it can "give up" Sprite to Decal? it sounds like Renderable doesn't really need/want ownership of Sprite if Decal is the struct that ultimately consumes Sprite. you should think about the lifecycle of a single Sprite before it ends up being consumed by a Decal. perhaps Renderable doesn't need ownership and can own a &Sprite, but you should decide whether Renderable or Decal is the "ultimate" owner of Sprite
@sunofabeach94242 ай бұрын
`Renderable` sounds like a trait that could have a function called `render` for `Decal to implement...
@alexcani49572 ай бұрын
Goddammit my heart stopped for a moment I thought we were in 2025.
@Phosphorus-zr7kl2 ай бұрын
Why isn't anyone talking about RustRover. As long as I tried it - it is so much better than VS code
@Wow4ikFD2 ай бұрын
But is it free?
@MykytaNikitenko2 ай бұрын
@@Wow4ikFD yes for non comercial use
@31redorange082 ай бұрын
Because it's from JetBrains and their products have lots of problems.
@BokoMoko652 ай бұрын
Great work Can you guide us on how to use rust with VS Code dev containers?
@NuflynMagister2 ай бұрын
Дякую, Богдане!
@playlistprivada65522 ай бұрын
Why do Visual Studio Code plugins and features stop working on my Mac when I open my Rust project which has a Vue project embedded as a frontend?
@jamespost89672 ай бұрын
It's probably C++'s fault!
@sunofabeach94242 ай бұрын
if your project has a lot of dependencies (or subdependencies), then a lot of terrible stuff can happen. on windows VSCode dies with out-of-memory code, on Linux it crashes X11 along with VSCode
@shrodinger38442 ай бұрын
that intro is extremely funny i love it
@shrodinger38442 ай бұрын
AND so true i use zed whenever i dont feel like setting up a specific IDE, i only have a specific ide for c++ and one for java
@justy13372 ай бұрын
never found out about Todo Tree but somehow still cool suggestions damn
@buddhirajgautam57312 ай бұрын
what about zed ?
@maxcruer2 ай бұрын
Rustrover just feels better
@durgaprasad66712 ай бұрын
Could you post embedded related video..?
@marcelkblanckhema2 ай бұрын
Why don‘t you create a let's get rusty extension? Add the extensions, settings and explanation plus a link to this vid. Would also be great advertisement for your channel
@merodeadorNocturno2 ай бұрын
Truth is that for Rust development I am a lot more comfortable using Zed than VS Code. After 1 hour of coding Rust in Zed I just couldn't go back to VSCode for Rust development.
@dvdmgl22 ай бұрын
So true!
@theLowestPointInMyLife2 ай бұрын
Supermaven is broken in zed
@dezly-macauley2 ай бұрын
@@merodeadorNocturno What makes zed so much better? 😯
@merodeadorNocturno2 ай бұрын
@@dezly-macauley first of all, you don’t need to install anything to begin Rust development; you just open Zed and is Rust ready. Second, it is so much faster than VS Code. Whenever I write JavaScript or TypeScript code in VS Code, it feels sluggish compared to Zed. The thing is that Zed is not yet mature enough for you to code in other languages besides Rust, there are a lot more extensions in VS Code for almost anything and that is something lacking in Zed. The user base and community is also bigger in VS Code. My recommendation would be: if you want to write Rust, you should check out Zed and see if it fits your workflow. For JavaScript, typescript, php, python, and so forth, you might be better suited with VS Code.
@PrimordialOracleOfManyWorlds6 күн бұрын
i just checked. zed has no windows version yet. the website displayed windows coming soon.
@radutomy2 ай бұрын
Helix next? :)
@cryptonative2 ай бұрын
My ultimate vscode setup: Use zed
@justafreak15able2 ай бұрын
Is that good?
@cryptonative2 ай бұрын
@@justafreak15able surprisingly good, it’s fast like vim, let’s you choose the key bindings you are used to (vscode for me), requires no mouse and needs no setup
@bigfishoutofwater31352 ай бұрын
No Lapce?
@gepron1x2 ай бұрын
It sucks, sorry
@sergioqcostas2 ай бұрын
why not something on zed? an ide made with rust
@tommy.33772 ай бұрын
For zed please
@eduardopaloujaume20082 ай бұрын
Nice work !!!!
@orterves2 ай бұрын
0:45 first, if you're a Windows user, you just need to install WSL2 or otherwise replace your os with Linux I'd tell the Mac users what to do but it's not like they'd listen to reason
@theangelofspace1552 ай бұрын
Vscode and light weight in the same sentence, wow. That is a new lol
@pierreollivier12 ай бұрын
1.5gb (without plugins) idle for a a program that just let's you edit text, is not my definition of "lightweight". In comparison my editor is maybe 30mb which is already a lot, and with LSP maybe 500mb which is a shit load of memory but at least it's tangible
@anatolia232 ай бұрын
There is nothing like Neovim:) Period!
@thesr88112 ай бұрын
Here I was thinking I will see something new xD Yeah VS Code is the Best Editor of All time Covering anything and everything as it's a general purpose IDE. And those who are asking why I have to install the Extensions, VS Code was built that way to be light weight and extensive use of extension to make it more robust and support for any language, and yes The Rust Analyzer is from The rust team. Personal Opinion: VS Code >>>> VS and VS Code >>>> Neovim and all the vi and vim crap tho Neovim is better than vim and vi but if I must use CLI Nano supremacy is the way
@rahff992 ай бұрын
What about Rustrover Jetbrain IDE ?
@Kronicaler2 ай бұрын
cmon not even an extension for debugging?
@Wow4ikFD2 ай бұрын
3:30 or are there better alternatives?
@MykytaNikitenko2 ай бұрын
@@Wow4ikFD I was recently doing some research and there is no really better debugger for now than rust's own rust-gdbgui, especially for nightly rust, because debugger in RustRover can not display vectors, options, results etc. of nightly rust, the same for CodeLLDB, so if you are seriously planning to do rust, get used to rust-gdbgui whether you like it or not, there won't be anything better in nearest times
@himanshuwiz2 ай бұрын
bro looks like a greek god
@hermes69102 ай бұрын
Just use Rust Rover now x)
@ManvendraSK2 ай бұрын
This is what I'll choose for: Production work 1. RustRover Personal learning 1. Zed (New and doesn't support debugging) 2. RustRover (Free for personal use) 3. Code (All-in-one editor)
@sdramare8642 ай бұрын
The debugger in RustRover is still much worse than CodeLLDB with VSCode/NVim
@patrickkdev2 ай бұрын
The best AI for vscode by far is Codeium. And it is free.
@I_em_umair2 ай бұрын
I will watch it again in 2025
@TenTypekMatus2 ай бұрын
Where’s Zed?
@sunofabeach94242 ай бұрын
it also OOM's unpredictably
@BeeBeeEight2 ай бұрын
Waiting for the Rust Foundation guys to build their own shiny IDE. I mean come on, if Microsoft could build VSCode using Electron what's stopping u guys with a Rust framework like Tauru? 😉😏
@vencislavvidov2 ай бұрын
I use dev container
@abdullahmertozdemir94372 ай бұрын
I expect the 2026 version in a month. Failure will not be tolerated, understood?
@azharalibhutto12092 ай бұрын
❤❤❤❤❤❤❤❤❤❤❤
@clot272 ай бұрын
use helix
@cryptonative2 ай бұрын
zed
@tauzN2 ай бұрын
In 2025 you should really be using brew or winget.
@mrkyn2 ай бұрын
why not 2026?
@PikminGuts922 ай бұрын
I’ll wait for 2026
@gigabek2 ай бұрын
We're cooked if these tutorials exist. And since when vscode became lightweight? This electron bloatware eats ram like nikocado in his fat years.
@Dreamer666172 ай бұрын
Rust Rover woohoooooooo
@thedarkest86722 ай бұрын
I use neovim and I don't know why I'm watching this
@iMagicGraalOnline2 ай бұрын
Super early!
@adibhanna2 ай бұрын
Neovim
@AS-Aeros2 ай бұрын
Bro your are still 2 months early 🤣🤣🤣
@theblckbird2 ай бұрын
2025?
@byt3blitz2 ай бұрын
Lightweight 😂😂
@EduardKaresli2 ай бұрын
Oh, so you have deteleted my comment. That speaks tons about you. 🤷
@jcbritobr2 ай бұрын
copilot is very expensive for brazilians 😑
@skidkadda2 ай бұрын
use Zed, rustrover or nvim... not this bs
@Edgar-pu1lc2 ай бұрын
Why ?
@Singlton2 ай бұрын
Next video for zed please 🙏
@dvdmgl22 ай бұрын
Summary: 1. install rustup - the basic component of rust 2. install Zed No video required
@tai94042 ай бұрын
1st step, donwload neovim
@flexairz2 ай бұрын
Github CoPilot? Nope Codeium
@oleksandrhusiev65442 ай бұрын
Absolutely useless setup since RustRover appeared, it is also free and better in any possible situation
@SDGful2 ай бұрын
Rust rover is best these all are shit
@PaulJaros2 ай бұрын
Lately your videos have become less pleasant. As a Ubuntu fan I'm being judged "boring" and as a long term vi user I'm following a "hype". Now text-editor wars are a well known unpleasant thing too. I like vs-code (but use the opensource alternative vs-codium) but the way of disregarding other alternatives is not good. How about telling why you like your editor and what your preferred settings are and encourage to try it without dismissing other choices.
@Iuigi_t2 ай бұрын
Not even using helix or zed. That's not the rust spirit one wants in the rust community.
@kamertonaudiophileplayer8472 ай бұрын
Mine is: rustc 1.83.0-nightly (a5cf8bbd4 2024-09-18)
@CaBoyGames2 ай бұрын
Even Better Toml not needed just add this setting 👇 "files.associations": { "*.toml": "properties" },