Rust Setup For Neovim (ft BashBunni)

  Рет қаралды 86,027

TJ DeVries

TJ DeVries

Күн бұрын

Пікірлер: 178
@teej_dv
@teej_dv Жыл бұрын
If we get 1,000 likes on this video, we will continue teaching all of you nerds RUST!!! come on... you know you want to learn it from us .... :)
@headlights-go-up
@headlights-go-up Жыл бұрын
I was Like number 101
@hojjat5000
@hojjat5000 Жыл бұрын
um actually.... It's Rust, not RUST.
@teej_dv
@teej_dv Жыл бұрын
@@hojjat5000 😂 yes I'm aware. I was capitalizing it cause of the EXCITEMENT
@hojjat5000
@hojjat5000 Жыл бұрын
@@teej_dv that's what I thought. But since you called me a nerd, I had to um-actually you. 😁
@FekuEntertainmentLtd
@FekuEntertainmentLtd Жыл бұрын
What's that face bruh!!, when you introduced Bash in the beginning of video. LOL. Made me crack up laughing..😀😀
@thomasfrans1185
@thomasfrans1185 Жыл бұрын
Bash: "It doesn't actually seem too bad" Borrow checker luring around the corner: "Allow me to introduce myself"
@Bvngee
@Bvngee Жыл бұрын
" _Cannot borrow variable as immutable because you suck and I hate you_ "
@thomasfrans1185
@thomasfrans1185 Жыл бұрын
@@Bvngee 🔃 clone()
@Bvngee
@Bvngee Жыл бұрын
@@thomasfrans1185 lmao
@PhilippeCarphin
@PhilippeCarphin Жыл бұрын
@@Bvngee You really got me with that comment.
@thatguynar
@thatguynar Жыл бұрын
Lmao it broke my brain when I tried learning rust a while back 😂
@solmateusbraga
@solmateusbraga Жыл бұрын
I'd dig a series where you teach her rust (and us alongside 😄). Sounds fun!
@brunomello7499
@brunomello7499 Жыл бұрын
I second this it would be awesome
@nullpointer1755
@nullpointer1755 Жыл бұрын
up
@armancheshmi7702
@armancheshmi7702 Жыл бұрын
exited to see Option and her reaction
@NathanHedglin
@NathanHedglin Жыл бұрын
Right?
@diadetediotedio6918
@diadetediotedio6918 Жыл бұрын
It is pretty explicit about what it is doiing
@fadoashura2867
@fadoashura2867 Жыл бұрын
@@diadetediotedio6918 If you don't know rust, that''s not explicit
@diadetediotedio6918
@diadetediotedio6918 Жыл бұрын
@@fadoashura2867 LMAO, if you don't know anything you surely will not understand the clarity of things, it's like me saying like "Personificação", if you don't know my native language you surely will not know how this is clear. But to be fair, it is very clear at most even for non-rust programmers with some experience in low-level after the simple basics, knowing that Rc means Reference-Counting (a common concept) and Option means an optional value (literally, it can or not be) you can know the most, and to know the RefCell you will need to know how the mutability works in rust and then just read the description.
@fadoashura2867
@fadoashura2867 Жыл бұрын
@@diadetediotedio6918 Yeah 👍
@PhilSamoylov
@PhilSamoylov Жыл бұрын
This is a great format to teach rust, just take a person who does not have any experience with it and record them struggling(or blasting through) the concepts. I haven't seen a lot of material like this yet! Awesome work!
@smithshelke2036
@smithshelke2036 Жыл бұрын
Damn i think you’ve unlocked a new style of tutorials on the internet.. if you do it consistently for Rust, start to end, im sure this style is gonna blow up! Thanks for this and all the upcoming content
@leonnardocr
@leonnardocr Жыл бұрын
Amazing chemistry between you two! Keep doing more videos like that plz! So much fun to watch this :D
@scotth8828
@scotth8828 Жыл бұрын
I'm just so happy to see Neovim setup and used for rust. I'm new to vim (first learning the keyboard shortcuts) and super new to neovim. I want to integrate neovim into my workflow and learning a language on it is a great way to convert neovim from something I learned to something I use. BRING ON THE RUST!
@Iogoslavia
@Iogoslavia Жыл бұрын
Your videos have been great to help me configure neovim. It would be great to if you two could cover setting up rust debugger in neovim, like you did for go. I'm having a hard time setting it up.
@xryx99
@xryx99 Жыл бұрын
Teej, I'm learning Rust so this was timely. I'd love more of these!
@arjix8738
@arjix8738 Жыл бұрын
I highly recommend using bacon, it is like cargo-watch but it outputs the output of cargo check
@not_ever
@not_ever Жыл бұрын
I'm going to check this out. Are you using nvim-bacon?
@arjix8738
@arjix8738 Жыл бұрын
@@not_ever I couldn't get myself to learn how to use nvim, I prefer GUI stuff, sorry
@not_ever
@not_ever Жыл бұрын
@@arjix8738 That's cool. Thank you for the bacon recommendation in any case.
@mohitkumar-jv2bx
@mohitkumar-jv2bx Жыл бұрын
Teej teaching rust. Definitely Yes!!!!
@Jordans1882
@Jordans1882 Жыл бұрын
Yaaas! Another Teej/Bash collab! Let’s goooooo! Can’t wait for the next one on rust, btw.
@a_maxed_out_handle_of_30_chars
@a_maxed_out_handle_of_30_chars 11 ай бұрын
this was good, thank you :)
@byoung006
@byoung006 Жыл бұрын
For the love of god, these two are a power - duo! LETS HIT 1K!
@austinburt9058
@austinburt9058 Жыл бұрын
Love the continued work on making new content, especially on Neovim, and things that can be tricky or confusing but really just need a little attention. This makes me want to try Rust even more than I did, and get my Neovim configs even more streamlined. Love it all, keep up the great work!
@alexwall7204
@alexwall7204 Жыл бұрын
Really like the new format! And really appreciated the video, thank you!
@desuburinga
@desuburinga Жыл бұрын
Wow it is my fav KZbinr TJ! Thanks for the tip on installing rust-analyzer using rustup, that was awesome.
@guzmonne
@guzmonne Жыл бұрын
:Thor throwing a cup to the floor saying "More!":
@Icame2Late4MyName
@Icame2Late4MyName Жыл бұрын
The workflow tip with cargo watch was very useful.
@sasankthapa8493
@sasankthapa8493 Жыл бұрын
Ooo I'm super excited to watch this one
@jonathan8406
@jonathan8406 Жыл бұрын
Rust dev experience is awesome, i keep an eye in this episodes of #bash2basics
@KnightMirkoYo
@KnightMirkoYo Жыл бұрын
More rust with bash2basics please! Super fun content
@JasonJurotich
@JasonJurotich Жыл бұрын
Hopefully you can go over the rust-tools plugin (which is used more often in Neovim) and how to get DAP working... Thanks!!
@solmateusbraga
@solmateusbraga Жыл бұрын
I'm currently using Helix which is much simpler to setup (no setup whatsoaver actually), vim makes my head hurt, but this looks cool!
@luctielen
@luctielen Жыл бұрын
This new format is slick. If it's not that much extra work, keep using it! Also, hilarious thumbnail!
@ayoubelmhamdi7920
@ayoubelmhamdi7920 Жыл бұрын
rust has new crazy options, like ownership and borrow , it's not easy to beginner
@ricardorien
@ricardorien Жыл бұрын
TJ you are a great guy, a total inspiration.
@yondaime500
@yondaime500 Жыл бұрын
I just installed rust-analyzer from source, to avoid messing with paths until it becomes a first-class citizen in rustup. Just clone the repo and "cargo xtask install --server". They say that in the Getting Started doc, and even the rustup announcement says most people can continue to do that for now. Also, you can add shell completions for rustup and cargo. Just type "rustup completions --help" and it will tell you which commands to run for each shell. Then you can type "cargo " and it will complete with all the available subcommands, including third-party ones you installed like cargo-watch, and aliases defined in the current workspace like the aforementioned "xtask". And if for example you type "cargo run --example ", it will list all the examples available in the workspace/repo.
@rddavies
@rddavies Жыл бұрын
I bashed my head against Rust all day today. Trying to do the FFI stuff and get data in and out of C code (like void* buffers etc.) and I'm going to go out on a limb and say it's *not* easy. Having said that huge thumbs up for the new production style!
@timothyvaher2421
@timothyvaher2421 Жыл бұрын
Excellent 👍 Tj & Bash! Great method for learning Rust. Yes this is effective! Thank you both. 🧑‍🏫 🧑‍💻
@wlockuz4467
@wlockuz4467 Жыл бұрын
bashbunni: "Its actually not too bad" _Oh dear, dear gorgeous_
@WilliamWelsh
@WilliamWelsh Жыл бұрын
im a simple man, i see tj and bash and i click
@vaisakh_km
@vaisakh_km Жыл бұрын
Ikr
@ok-Luis
@ok-Luis Жыл бұрын
I love this so much, thank you guys! 💚
@tkroll
@tkroll Жыл бұрын
Thumbs up on the Rust series. PLEASE include how to setup nvim-dap for Rust dev. Trying but failing....
@spirosmakris7847
@spirosmakris7847 Жыл бұрын
This format is great. More please!
@stoneymcwheels1580
@stoneymcwheels1580 Жыл бұрын
Great video guys! Looking forward to more. :)
@carlossolorzano505
@carlossolorzano505 Жыл бұрын
Loved new format. 🔝🔝
@kodder
@kodder Жыл бұрын
Come on Teej! you had an amazing opportunity to start singing,... bare essentials ...no ! bare necessities! , joke aside. good for pointing out rustup's rustanalyzer lsp config! I just use mason, changing it now.
@RoryIsNotACabbage
@RoryIsNotACabbage Жыл бұрын
Nice (totally deliberate) defocusing your camera when you ask bash to talk about herself. Pro videographer now
@beefnips9917
@beefnips9917 Жыл бұрын
Hell yeah, nice work bash and teej
@艾曦-e4g
@艾曦-e4g Жыл бұрын
Cool! 7 languages in 7 weeks? So I have to like the video and I do have no other choices.
@Simon-vy8fe
@Simon-vy8fe Жыл бұрын
That's a really cool format :)
@aaronmcadam
@aaronmcadam Жыл бұрын
This was fun, great format ❤
@alexodan
@alexodan Жыл бұрын
I followed along this vid and everything seemed great, but in my case I would like the option of getting hint errors in real time so to speak, instead of the need to write the file to see them, is there a way to have that?
@abrahimzaman360
@abrahimzaman360 Жыл бұрын
That's Awesome Video TJ! (:
@DeadAir
@DeadAir Жыл бұрын
More bash2basics please!
@adityapalve3752
@adityapalve3752 Жыл бұрын
i handsdown love these TJ, learn so much from it!!
@DeadAir
@DeadAir Жыл бұрын
I like the new edited format! Easier to consume
@przemprore
@przemprore Жыл бұрын
awesome! waiting for a follow up!
@CZiNTrPT
@CZiNTrPT Жыл бұрын
I would love to see a video where bash tries to explain something to tj. Maybe even something they both don't know so Well, but always where curious about..or something where bash is an expert. Anyways I believe that way we too could learn something
@diktomat
@diktomat Жыл бұрын
Cargo Watch is nice, but try bacon. One key to change between check/test/clippy and a fail/pass indicator in the header is just nice!
@kevinmuhia5915
@kevinmuhia5915 Жыл бұрын
Would love to see more rust videos
@gbjxc
@gbjxc Жыл бұрын
This is awesome. Subs for you both ❤
@00mimir
@00mimir Жыл бұрын
Right on time! I was thinking about learning Rust and BOOOM, this video came out. Thanks for sharing this with us. Amazing content as always!
@Redyf
@Redyf Жыл бұрын
I love your videos, keep up the greak work bash and TJ!
@stevecanny1583
@stevecanny1583 Жыл бұрын
Nice job you two! :)
@AnzumanaTaal
@AnzumanaTaal Жыл бұрын
Looking forward to more rust :)
@krige
@krige Жыл бұрын
Should this and the other NeoVim related videos added to your "Effective Neovim" playlist?
@ErmandDurro
@ErmandDurro Жыл бұрын
Great content from both of you ❤️ Would love a tutorial on Rust 😄
@sardineBro
@sardineBro Жыл бұрын
Rustacean is my new fave word
@nextfangtechlead6239
@nextfangtechlead6239 Жыл бұрын
U DID WHAT WITH RUST?! 😳😳😳
@RedHandedBug
@RedHandedBug Жыл бұрын
Part 2 when? :)
@zerocool3466
@zerocool3466 Жыл бұрын
Great video 🔥
@carlOSx64
@carlOSx64 Жыл бұрын
I was hoping to see some nvim-dap in action, the configuration is so cryptic that I have to use vscode for debugging :(
@SR-ti6jj
@SR-ti6jj Жыл бұрын
two best youtubers
@Drama-ck2tp
@Drama-ck2tp Жыл бұрын
lets teacher her more rust!
@CristianHeredia0
@CristianHeredia0 Жыл бұрын
I’m here for this
@0xhiro
@0xhiro Жыл бұрын
Yes!! TEACH HER RUST!!!!!!
@neonsegaming3114
@neonsegaming3114 Жыл бұрын
Love the series
@achillesmunch8450
@achillesmunch8450 Жыл бұрын
Please! A Video about Rust-Debugging in NeoVim! 🦀🐞 I'm really struggeling with that... 🙃
@noelguiavieira
@noelguiavieira Жыл бұрын
Cool video! Keep it on!
@ricardorien
@ricardorien Жыл бұрын
MOREEE RUSSSSSSTTTT AND CONFIGGGGGGGG!!!!!!!
@dog4ik
@dog4ik Жыл бұрын
cargo watch is really useful
@darknetworld
@darknetworld Жыл бұрын
What the short keys for switching the in time 16:48. Pretty new how handle keyboard controls.
@tsuchipls
@tsuchipls 6 ай бұрын
how i enter to lsp
@lenninlc
@lenninlc Жыл бұрын
Great video !
@albuslrc
@albuslrc Жыл бұрын
Amazing! 😄
@BohdanMakohin
@BohdanMakohin Жыл бұрын
I am so bored your content, guys. It so boring to see you delivering awesome content and always innovating. Pls, stop, guys!
@艾曦-e4g
@艾曦-e4g Жыл бұрын
LOL
@teej_dv
@teej_dv Жыл бұрын
You really had me in the first half 😂
@KevinLe-w9s
@KevinLe-w9s 11 ай бұрын
If you're familiar with Microsoft tech stack, "lsp" is more or less IntelliSense. If not, then it can be loosely defined as intelligent code completion.
@ernestodelgato930
@ernestodelgato930 6 ай бұрын
It also checks for correct syntax and probably other things but mostly the error checking
@lpanebr
@lpanebr Жыл бұрын
Great!
@cristhiamtovar9003
@cristhiamtovar9003 Жыл бұрын
Bash to basics
@heyyou4686
@heyyou4686 Жыл бұрын
It's already over 1k likes 🤤
@Hohmlec
@Hohmlec Жыл бұрын
Instead of cargo watch, I would recommend bacon.
@hadyelzayady
@hadyelzayady Жыл бұрын
Hi TJ, I like your videos and I have been using neovim for a long time I have been using my own config for neovim in my work, but lately I switched to using lazyvim and it works great but suddenly neovim crashes and it is very slow, the logs do not give insightful info, this happens with java projects, I would appreciate your help
@MesheeKnight
@MesheeKnight Жыл бұрын
let's learn rust along!!
@yoni532s9M5w
@yoni532s9M5w Жыл бұрын
I wanna learn more rust please
@guitaripod
@guitaripod Жыл бұрын
Good video
@vaisakh_km
@vaisakh_km Жыл бұрын
I want the series
@shyam2305
@shyam2305 Жыл бұрын
Can the neovim the configuration be shared?
@caerphoto
@caerphoto Жыл бұрын
TJ/Bash, have you tried the lsp_lines plugin? I find it's a much more useful presentation of LSP errors/warnings/etc than the default, especially when there's multiple problems on one line.
@ivanpartida7467
@ivanpartida7467 Жыл бұрын
:vsp|:ter is how i like to open a new terminal in one command
@vaisakh_km
@vaisakh_km Жыл бұрын
What? Can we do that? good to know
@RenderingUser
@RenderingUser Жыл бұрын
I was thinking like bruh, it was just one command for me to install and use rust analyser in neovim but you went to change the neovim config files But then I saw a whole neovim window that lists everything that rust-analyser has to say How do I get that?
@bashbunni
@bashbunni Жыл бұрын
I think you might be referring to `:Telescope diagnostics` I use that to see all the errors and warnings my lsp is giving
@RenderingUser
@RenderingUser Жыл бұрын
@@bashbunni ahhh thnx I didn't even know I had it I'll bind it to some keyboard shortcut somewhere
@Trindade7j
@Trindade7j 9 ай бұрын
Please do a Go Setup
@darylmanning9512
@darylmanning9512 Жыл бұрын
I liked bash's lsp config where she could bring up the diagnostics in what looked like telescope etc. Can we see the dotfiles?
@darylmanning9512
@darylmanning9512 Жыл бұрын
Nvmd, found her dotfiles on her GH. Thanks for putting these up! (tho having trouble figuring out what you did to get the nice lsp config - I'm using lspsaga, but yours seems nicer.)
@bashbunni
@bashbunni Жыл бұрын
@@darylmanning9512 I also can't find it in my dotfiles XD It's the `:Telescope diagnostics` function though! Loooove it
@codeman99-dev
@codeman99-dev Жыл бұрын
Hey TJ. I love your idea of neovim being great as a PDE. I love the term too. I'm currently doing that style of setup using vscode + devcontainers. That said, I don't specifically love vscode. It was just an obvious choice at my day job. Before my current job I wrote javascript without any aids at all (other than syntax highlighting) using GNU nano. In fact, I've used GNU nano more than any other editor, and I still reach for it when doing quick & obvious edits. I genuinely love having keybindings that are similar to readline. That means my key memory is quite transferable to other programs. So I have two questions: 1. Do you have a video on re-mapping key bindings (for neovim)? Yes, I know some vim bindings, but mostly to navigate in `less`... lol. 2. Does neovim have any support for devcontainer like workflow?
@4sat564
@4sat564 Жыл бұрын
how to make Mason use rust-analyzer from rustup and not from its registry?
@null_bite
@null_bite Жыл бұрын
First, let's goooo 💪
@CZiNTrPT
@CZiNTrPT Жыл бұрын
Are there plugins which do the lspconfig on_attach for me? Like zero-lsp or sth? Modularity is great, but this quickly approaches node tooling where there are so many possibilities it's hard to decided which way to go or which options might be best to "just work". I understand there is docs, etc, but opinionated defaults are also great
@justpatrick_
@justpatrick_ Жыл бұрын
Yeah, am hoping they introduce the helix way of just setting it up for you
@smjonas8616
@smjonas8616 Жыл бұрын
@@justpatrick_ That will probably never happen. You can always use a premade configuration (there are lots of them out there now) but Neovim itself will stay pretty lightweight and unopinionated.
@Leonardo-nf5jc
@Leonardo-nf5jc Жыл бұрын
It's rust-tools better than just using rust-analyzer?
Ultimate Neovim setup for Rust development
13:23
Let's Get Rusty
Рет қаралды 33 М.
Effective Neovim: Instant IDE
16:16
TJ DeVries
Рет қаралды 827 М.
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 47 МЛН
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2 МЛН
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,5 МЛН
DONT use Neovim!! (in these scenarios)
8:56
typecraft
Рет қаралды 37 М.
tree-sitter explained
15:00
TJ DeVries
Рет қаралды 92 М.
POV: LSP kind of sucks sometimes | NeovimConf 2024
19:17
Maria Solano
Рет қаралды 4,4 М.
Learn By Building: Language Server Protocol
1:59:54
TJ DeVries
Рет қаралды 82 М.
Rust for TypeScript devs : Borrow Checker
8:49
ThePrimeagen
Рет қаралды 229 М.
simple neovim debugging setup (in 10 minutes)
9:36
TJ DeVries
Рет қаралды 53 М.
My Forever Dev Workflow
16:02
typecraft
Рет қаралды 107 М.
Compiler-Driven Development in Rust
13:11
No Boilerplate
Рет қаралды 55 М.
I Rewrote My Entire Neovim Config...
11:09
TJ DeVries
Рет қаралды 48 М.
nvim + vim9script: how Rust made it happen
20:34
TJ DeVries
Рет қаралды 46 М.
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 47 МЛН