00:00 - _ 03:16 - Intro 06:26 - Windows users and Vim 12:00 - Vim (NeoVim) demo 18:25 - LSP - Language Server Protocol 20:50 - About vim extensions 29:05 - Moaid Hathot NeoVim config 31:00 - Dumpify 43:08 - Vim, Git, fast search 46:24 - Dumpify config 49:15 - Vim and NeoVim 57:13 - Outro
This was great, I've been toying with the idea of using Neovim at work for dotnet for small things but didn't know where to start. One of my pain points with Visual Studio in corporate environments is how heavy and slow it is, Neovim in comparison is so light and blazing fast.
Okay, we need a video showing step by step how to configure Neovim for C#/.NET development. This is quite amazing. I've been trying to get Neovim work with Omnisharp, but it hasn't been going very well.
Learning vim motions can significantly boost productivity for developers, everyone should take a time to learn it. Great demo btw, instead of omnisharp, I'm using csharp-ls as LSP and it works well.
@sidaz22 Never managed to make it work properly. Now I'm using jmederosalvarado/roslyn.nvim and it's the fastest out there, based on the new LSP for vscode
At my new company i'm forced to use c#. In the old days i had a lot of hate about microsoft. I hated the war against linux. So i left the windows world and went to the gentoo linux community. Later i switched to archlinux. I really loved ruby and sinatra. Now i'm back in the microsoft world and have to use c# and i really really love it. I love the new minimal api's. I love maui. And i'm sad that, visual studio will be discontinued on mac. I used nvim for a long time. Now i see, that it could be possible to use it with c#. Sound's fun. Please more about it.
rider exists, if you dont mind paying few bucks a month. Saves the vim headache, cause there is nothing like LSP deciding that Monday is a day off work,
@@justanaveragebalkan i installed the trial of rider yesterday on my mac after a dotnet neovim distro produced a lot of errors which i don't had the will to study the cause of all this. And yeah, the vim hustle is a big pain point for me. Something in me feels a lot of resistance when it is about Software i have too pay yearly for.
Damn, watching the stuff at minute 40 and i'm so happy, that neovim is so powerful in his windows environment. I'm so happy, that i can use c# with neovim 🙂
I'm interested. It has been a while since I was using Visual Studio heavily, so I'm curious to go back and see how NeoVim would compare to all the goodness of Visual Studio, VsVim, and ReSharper, among other plugins, NuGet packages, and Git integration. Certainly for things such as Maui/Xamarin and WPF there's no substitute for Visual Studio because of the XAML designer, but the lightweight nature of NeoVim has great allure since VIsual Studio takes a long time to load. Maybe NeoVim in combination with Expression Blend would be a good overall experience for doing WPF Windows apps. I'm also wondering whether I could write and execute C# using NeoVim on my iPad.
I'm not a Mac user so I don't have experience with it, but you should be able to run Neovim and C# on your iPad :) Omnisharp, the LSP that I'm using is cross platform
It is impossible to paste a link. I tried multiple times, but AI (or really angry admin) doesn't allow to type it. But in video you can find repo at 29:05
Thanks for the video. Vim is really great, but unfortunately it isn't support working with *.cshtml files (razor pages). And there is no solution explorer. This two things stops me to use is as my main tool. This is really my dream to have it into vim.
@@moaidhathot thank you for the question! I work with a huge repository that includes many projects. These projects are sometimes closely related to each other. For example, different projects use a library to access the database. Lib contains domain models, converters, repositories, mappers etc. In Visual Studio or Rider I can easily open this library and search for the files I need, as well as create new ones if necessary. I've been working with Vim for about a week now and haven't found answers to the questions what I have in switching from Rider to NeoVim. May be I'll have more issues in the future. May be the answer is there - change my stack. LoL. :q
Debugging, navigation by type names, finding usages, finding implementations, navigating to the base class, extracting methods, variables, and so on and so on... a lot of daily routine activities were not shown here... Too bad.
A similar options to ctrl+t exists with fuzzy search (Capital letters + more options than VS). Semantic Search and Type searching are not built-in by default, but can be added.
Yes space P D is so much faster than c-R or f12... It's effective yes, but lets not sell snake oil all ides can be made fast, some take lot more to setup than others, at the end of the day the result is the same.
It is possible to debug with breakpoints, stepping and watches inside Neovim. But there isn't the full out of the box experience which VS might offer with the click of a button.
00:00 - _
03:16 - Intro
06:26 - Windows users and Vim
12:00 - Vim (NeoVim) demo
18:25 - LSP - Language Server Protocol
20:50 - About vim extensions
29:05 - Moaid Hathot NeoVim config
31:00 - Dumpify
43:08 - Vim, Git, fast search
46:24 - Dumpify config
49:15 - Vim and NeoVim
57:13 - Outro
This was great, I've been toying with the idea of using Neovim at work for dotnet for small things but didn't know where to start. One of my pain points with Visual Studio in corporate environments is how heavy and slow it is, Neovim in comparison is so light and blazing fast.
Okay, we need a video showing step by step how to configure Neovim for C#/.NET development. This is quite amazing. I've been trying to get Neovim work with Omnisharp, but it hasn't been going very well.
This
Oh no, I thought this was the purpose of this video. 59 minutes and there are no instructions on the setup?
@@boy_with_thorn astro nvim and the community cs package is a good start I think
Learning vim motions can significantly boost productivity for developers, everyone should take a time to learn it. Great demo btw, instead of omnisharp, I'm using csharp-ls as LSP and it works well.
why not omnisharp?
@sidaz22 Never managed to make it work properly. Now I'm using jmederosalvarado/roslyn.nvim and it's the fastest out there, based on the new LSP for vscode
Been struggling with setting up c# lsp, your dotfiles will be really helpful to get that working thanks!
My man made his Spouse nullable 😅
LOL
bro was getting existential with it
This is the best and most hilarious comment I have ever seen
Amazing video, I use Neovim too. I love the simplicity.
At my new company i'm forced to use c#. In the old days i had a lot of hate about microsoft. I hated the war against linux. So i left the windows world and went to the gentoo linux community. Later i switched to archlinux. I really loved ruby and sinatra. Now i'm back in the microsoft world and have to use c# and i really really love it. I love the new minimal api's. I love maui. And i'm sad that, visual studio will be discontinued on mac. I used nvim for a long time. Now i see, that it could be possible to use it with c#. Sound's fun. Please more about it.
rider exists, if you dont mind paying few bucks a month. Saves the vim headache, cause there is nothing like LSP deciding that Monday is a day off work,
@@justanaveragebalkan i installed the trial of rider yesterday on my mac after a dotnet neovim distro produced a lot of errors which i don't had the will to study the cause of all this. And yeah, the vim hustle is a big pain point for me. Something in me feels a lot of resistance when it is about Software i have too pay yearly for.
Damn, watching the stuff at minute 40 and i'm so happy, that neovim is so powerful in his windows environment. I'm so happy, that i can use c# with neovim 🙂
Thanks for the video, I'll finally be able to flex upon my workmates for using neovim 😼
I'm interested. It has been a while since I was using Visual Studio heavily, so I'm curious to go back and see how NeoVim would compare to all the goodness of Visual Studio, VsVim, and ReSharper, among other plugins, NuGet packages, and Git integration. Certainly for things such as Maui/Xamarin and WPF there's no substitute for Visual Studio because of the XAML designer, but the lightweight nature of NeoVim has great allure since VIsual Studio takes a long time to load. Maybe NeoVim in combination with Expression Blend would be a good overall experience for doing WPF Windows apps.
I'm also wondering whether I could write and execute C# using NeoVim on my iPad.
I'm not a Mac user so I don't have experience with it, but you should be able to run Neovim and C# on your iPad :)
Omnisharp, the LSP that I'm using is cross platform
How did you open code actions in telescope?
Any suggestions for cshtml and razor files with nvim?
any chance to post a link with git repo of your vim config? Thx
It is impossible to paste a link. I tried multiple times, but AI (or really angry admin) doesn't allow to type it. But in video you can find repo at 29:05
Here is a link in the chat record next to the video player at 29:00
The repo was posted in the Live Chat around 32:00 in the video. RUclips is deleting comments with links.
Thanks for the video. Vim is really great, but unfortunately it isn't support working with *.cshtml files (razor pages). And there is no solution explorer. This two things stops me to use is as my main tool. This is really my dream to have it into vim.
What functionality from `Solution Explorer` are you missing?
@@moaidhathot thank you for the question!
I work with a huge repository that includes many projects. These projects are sometimes closely related to each other. For example, different projects use a library to access the database. Lib contains domain models, converters, repositories, mappers etc. In Visual Studio or Rider I can easily open this library and search for the files I need, as well as create new ones if necessary.
I've been working with Vim for about a week now and haven't found answers to the questions what I have in switching from Rider to NeoVim. May be I'll have more issues in the future.
May be the answer is there - change my stack. LoL.
:q
@@igorpom2 do you mean a some sort of tree-based file explorer? Or do you mean decompiling third-party libraries when you don't have their source?
^ this, because both are possible :)
My complain is that SSMS doesn't have vim extension. 😢
Azure Data Studio does
Oh i love it.
Why does he hates his keyboard? I jumped every time he smashed those keys.
Debugging, navigation by type names, finding usages, finding implementations, navigating to the base class, extracting methods, variables, and so on and so on... a lot of daily routine activities were not shown here... Too bad.
All of these features exists, except a non-built-in refactoring actions.
Not sure how he can live without ctrl+t and searching capital letters. Semantic search... also works in referenced packages!
A similar options to ctrl+t exists with fuzzy search (Capital letters + more options than VS).
Semantic Search and Type searching are not built-in by default, but can be added.
Yes space P D is so much faster than c-R or f12...
It's effective yes, but lets not sell snake oil all ides can be made fast, some take lot more to setup than others, at the end of the day the result is the same.
So debugging sucks in Neovim? I'll stick with VSCode...
It is possible to debug with breakpoints, stepping and watches inside Neovim. But there isn't the full out of the box experience which VS might offer with the click of a button.
does it has a Immediate Window equivalent where I can run code at breakpoint? @@ipwnjo
At some point he will notice that linux is the real deal.
Nice but not worth the effort imho.