NeoVim With Flutter is AWESOME

  Рет қаралды 20,041

Robert Brunhage

Robert Brunhage

Күн бұрын

Пікірлер: 67
@codegambit2507
@codegambit2507 Жыл бұрын
People might be asking the question "why switch to neovim?". In my case, it makes more sense. Although I use a MacBook Pro M1 pro which has great battery life btw, I live in Nigeria and the electricity is not constant. Sometimes I notice the macbook gets so hot and the battery keeps going down at a faster pace. I open the activity monitor and guess the culprit? Yeah VS code. I think it's also damaging the battery life. This happens every time and the culprit is always VS code. If I should quit VS code and wait some minutes, the laptop starts getting cooler and the battery stops going down at that fast pace. This is why I decided to start learning to use neovim and I'm loving it. I haven't really found the perfect configuration for flutter specifically tho
@RobertBrunhage
@RobertBrunhage Жыл бұрын
Great take! My reason for switching was that I thought it seemed fun, and I still do 😂
@avatar_ng
@avatar_ng Жыл бұрын
omg the flutter-watch command is amazing
@RobertBrunhage
@RobertBrunhage Жыл бұрын
I just wish we had flutter watch as part of the commands in Flutter haha. No worries, glad you liked it!
@guilchaves
@guilchaves 4 ай бұрын
i was assigned to a new project that uses flutter, this really helped. thank you.
@mikemegalodon2114
@mikemegalodon2114 Жыл бұрын
This is just the video i wanted, flutter neovim and tmux
@RobertBrunhage
@RobertBrunhage Жыл бұрын
Considering doing more content about it. I would never go back to using something else than neovim and tmux. Also it's fun :))
@tayabfarooq2062
@tayabfarooq2062 Жыл бұрын
great to see you back after long time!
@RobertBrunhage
@RobertBrunhage Жыл бұрын
Fun to be back!
@tayabfarooq2062
@tayabfarooq2062 Жыл бұрын
@@RobertBrunhage Sir I have one question, Sir I am using custom ML model integration in Flutter for Android & IOS but is there any way for Flutter Web? I am searching for it, for a very long time but i can not find one
@rd_626
@rd_626 4 ай бұрын
Honestly, this video is incredibly informative and helpful. Thank you, Robert!
@SeriousSerge
@SeriousSerge Жыл бұрын
As always great video! i was just looking into starting to use nvim. I quite like vscode but ill be doing development in remote machines soon because of reasons and this fits my needs like a glove. just ssh into the remote and have nvim set up there and voila! Thanks for your great content, you''ve been alot of help
@utkarshj1
@utkarshj1 9 ай бұрын
here after updated lazy approach to plugins, thanks for the setup repo
@muhammadvikral4367
@muhammadvikral4367 Жыл бұрын
I iust knows that you can watch changes like that when running flutter via terminal. I use flutter-tools atm but i hate it when my vim crashed or my lsp start doing something weird i had to restart my nvim, and my had to rerun my flutter app. Thank you so much for the runner info, it will be such a great quality of life for me
@ChristianKyony
@ChristianKyony Жыл бұрын
Fantastic videos for the hard-core (neo-)vimers like me. I like what you have done with flutter-watch, tmux, harpoon and also the window manager yabai as I use a MacBook Pro (I really missed xmonad).
@nero1375
@nero1375 Жыл бұрын
Do not forget about flutter-tools plugin!
@RobertBrunhage
@RobertBrunhage Жыл бұрын
Yeah, believe I mentioned it. Had so many small issues with it in the end that I just went to the terminal instead. I do like the terminal approach a bit more though (as long as you have Tmux or similar)
@Ellefsen97
@Ellefsen97 Жыл бұрын
How do you set up the keybindings for the flutter related lsp, like documentation popups, see definition and autocompletion? I'm struggling with the setup
@RobertBrunhage
@RobertBrunhage Жыл бұрын
You can find my dotfiles but here is the related file for setting that up -> github.com/RobertBrunhage/.dotfiles/blob/main/nvim/.config/nvim/after/plugin/lsp.lua
@Ellefsen97
@Ellefsen97 Жыл бұрын
@@RobertBrunhage Thanks a lot! I'm new to nvim and it's a lot to learn. Thanks to you I now got a functional nvim for Flutter development. I truly appreciate the help
@TechBuddy_
@TechBuddy_ Жыл бұрын
I created my flutter watch using the dart process spawning manually cuz I stopped using nodemon as the node executable already comes with watch flag nowadays Great video btw, harpoon helps me soo much like constantly switching between the same 3 to 4 files is sooo easy with it I can't live without it anymore
@RobertBrunhage
@RobertBrunhage Жыл бұрын
Oh awesome, didn't know that, would love to see the script!
@TechBuddy_
@TechBuddy_ Жыл бұрын
@@RobertBrunhage I am a Lil busy rn I will send the code in discord once I am home :)
@gorudonu
@gorudonu Жыл бұрын
I have a script to watch files and rerun tests for files that have changed.
@RobertBrunhage
@RobertBrunhage Жыл бұрын
@@gorudonu Oh would love to see that as well!
@hardal7
@hardal7 Жыл бұрын
please share!
@lukasklingsbo3391
@lukasklingsbo3391 Жыл бұрын
Good stuff! 🔥
@RobertBrunhage
@RobertBrunhage Жыл бұрын
Converting people 1 by 1
@caibouz3526
@caibouz3526 Жыл бұрын
Find references is too slow with dartls, did u encounter before?
@RobertBrunhage
@RobertBrunhage Жыл бұрын
That's just life, it can be slow in larger projects with more packages. It's the same LSP that vscode uses
@erlangparasu6339
@erlangparasu6339 4 ай бұрын
really helpful video thanks
@DevMartins_
@DevMartins_ 10 ай бұрын
Thanks man, you saved my life! =D
@M-Aisuru
@M-Aisuru 5 ай бұрын
I'm new to nvim and would like to know how to view errors and see what commands I can use when using control + space in vscode. Like you but in nvim
@artofnessa
@artofnessa Жыл бұрын
NeoWIN!!
@albuslrc
@albuslrc Жыл бұрын
Great video 😄
@Ask-786
@Ask-786 Жыл бұрын
Great video :). By did you made that code action menu like that. It appears bottom of the window for me. with an option to choose corresponding number .
@Ahmed-yr8wb
@Ahmed-yr8wb Жыл бұрын
Are you back publishing content again?
@RobertBrunhage
@RobertBrunhage Жыл бұрын
Yee back to publishing a bit more of whatever I think is fun to publish. Got a bit burned out before and this is a bit more fun to do!
@Ahmed-yr8wb
@Ahmed-yr8wb Жыл бұрын
@@RobertBrunhage oh that's wonderful news, we missed you so much 💕💕💕
@juanmacias5922
@juanmacias5922 Жыл бұрын
@@RobertBrunhage yay, hope you find more fun things to share!
@ifqygifhaazhar8786
@ifqygifhaazhar8786 4 ай бұрын
how to use convert stateless to statefull use this nvim?
@lowentropyentity
@lowentropyentity 10 ай бұрын
could you share your dotfiles? the nvim config is a submodule that's either private or deleted
@RobertBrunhage
@RobertBrunhage 10 ай бұрын
Should be public now
@_acky
@_acky Жыл бұрын
how can I install Flutter using nvchad and lazy plugin
@gorudonu
@gorudonu Жыл бұрын
You need a debugger with dap. That's what most neovim videos lack
@RobertBrunhage
@RobertBrunhage Жыл бұрын
I believe because most people using NeoVim just doesn't use the debugger. When I moved over to NeoVim I just stopped using debuggers all-together. It feels so much smoother to not use it now that I've used both. But I guess that's just personal preference. Flutter devtools always has a debugger though
@hyperiontitan463
@hyperiontitan463 2 ай бұрын
I need this.
@Ematolah
@Ematolah 9 ай бұрын
Hi sir hope you are having a great day sorry to be messaging and commenting and issuing every where for you but i dont understand how i should intergrate this into my own lsp config file
@juanmacias5922
@juanmacias5922 Жыл бұрын
I love vim commands, I just need to learn to use Harpoon, and nvim for my Flutter development lol
@RobertBrunhage
@RobertBrunhage Жыл бұрын
I can't go back, and highly recommend harpoon. I usually work between 1-4 files and just navigating them with keybinds is super powerful!
@Dev_Eli
@Dev_Eli Жыл бұрын
Hi, robert. How do you debug your code?
@RobertBrunhage
@RobertBrunhage Жыл бұрын
I sprinkle a little print here and then a sprinkle another print there. Worst worst case I use the debugger from the devtools, never found myself needing the debugger though, was usually more pain than help
@nihalabdulla7282
@nihalabdulla7282 Жыл бұрын
How do you debug your code ?
@DartMitai
@DartMitai 4 ай бұрын
lsp inlay hints???
@HarshKumar-qw5ou
@HarshKumar-qw5ou Жыл бұрын
I edit my files on nvim but use vscode for debugging since it has such a nice debug window with colored logs and everything. Am i the only one who relies so much on that debug console. dap don't even come close to those nice nice colored logs.
@RobertBrunhage
@RobertBrunhage Жыл бұрын
I find that I tend to be faster without using debuggers in general with finding the cause of the issue I am having. In general I can't help much there :/
@deadmet21
@deadmet21 8 ай бұрын
how can i setup fvm using this config?
@redsun9594
@redsun9594 Жыл бұрын
What about breakpoint debugging?
@RobertBrunhage
@RobertBrunhage Жыл бұрын
I never use that nowadays but if I need it, the devtools already has a debugger docs.flutter.dev/development/tools/devtools/debugger I've also heard of people setting up github.com/mfussenegger/nvim-dap to get debugging, but as I don't use it I haven't tried
@redsun9594
@redsun9594 Жыл бұрын
@@RobertBrunhage good stuff, I currently use VSCode vim plugin, but it's really lacking and probably this video is a wakeup call to step up my game, thanks for the amazing content!
@RobertBrunhage
@RobertBrunhage Жыл бұрын
@@redsun9594 I used that for quite a while and switching between that and Neovim when I first got started. But once I was able to go full NeoVim neckbeard, I never went back.
@mikemegalodon2114
@mikemegalodon2114 Жыл бұрын
Debugging should be possible using dap
@codehunter4072
@codehunter4072 10 ай бұрын
How to auto format flutter ?
@RobertBrunhage
@RobertBrunhage 10 ай бұрын
You would setup an autocommand for running dart format. I am a f kind of guy so not used autoformat for almost 3 years.
@AK-iz3nz
@AK-iz3nz Жыл бұрын
cool!
Turn VIM into a full featured IDE with only one command
11:55
Dreams of Code
Рет қаралды 684 М.
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 9 МЛН
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 16 МЛН
Neovim Is a Waste Of Time, And I LOVE It | Prime Reacts
17:00
ThePrimeTime
Рет қаралды 93 М.
The Only Video You Need to Get Started with Neovim
34:00
TJ DeVries
Рет қаралды 406 М.
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 332 М.
Learn Flutter Hooks and Maximize Your Code Reuse
10:36
Robert Brunhage
Рет қаралды 61 М.
Why Neovim nerds are so obsessed with the terminal
6:44
Joshua Morony
Рет қаралды 98 М.
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
typecraft
Рет қаралды 107 М.
Nix and NeoVim
13:38
ThePrimeTime
Рет қаралды 147 М.
How to ACTUALLY switch from VS Code to Neovim
5:09
Joshua Morony
Рет қаралды 246 М.
Are You Typing Slower Than 80 WPM?
4:51
Robert Brunhage
Рет қаралды 3 М.
I Love Neovim But I WONT Use It | Prime Reacts
23:22
ThePrimeTime
Рет қаралды 123 М.
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37