5 ms·
Odd question maybe, my company uses C# and I've been picking up more backend responsibilities. However, I'm a Linux and Neovim user. I do have Windows and Visua
by Accacin 4y ago
Odd question maybe, my company uses C# and I've been picking up more backend responsibilities. However, I'm a Linux and Neovim user. I do have Windows and Visual Studio available but I just find it awkward.
Is anyone here having success with Linux and Neovim for C#? Even trying to learn more about the language is awkward as so many resources go straight into VS.
- noveltyaccount 4y agoCan't comment on neovim. VS Code works well on Linux for another option.
- simooooo 4y agoI’ve been using Rider in Ubuntu for a year or so, and not really missed VS. Only once when looking into the identity UI templates which required some scaffolding stuff in VS.
- alexzeitler 4y agoI’m using it on Xubuntu with Rider as well. I’m using the CLI to scaffold identity including UI.
- Loocid 4y agoI strongly recommend Rider, even for those using Windows. It's a great piece of software.
- pjmlp 4y agoWhy pay for half of the experience of IDE from the OS vendor, specially when having MSDN licenses already paid for?
- Loocid 4y agoWhat half is Rider missing? And of course you should use VS if you're getting it for free while having to pay for Rider. I find Rider a much more smooth experience than VS. It's faster in almost every way (loading solutions, searching, etc).
- pjmlp 4y agoFull stack Windows development, across all Microsoft products and various kinds of Windows SDKs, GPU debugging, hot code reload for .NET and C++, visual tooling for architecture workflows.
- Loocid 4y agoRider does full stack (eg MAUI, Blazor, WPF, Xamarin etc for frontends and can publish to various cloud services) and has hot reload. What Microsoft products and SDKs does Rider not support? As far as I can tell GPU debugging is C++ only, where I thought we were discussing C#, same with the C++ hot reload. However CLion does both.
- pjmlp 4y agoSharePoint, Dynamics, SQL Server SP in .NET, Sitecore (not MS but big player in enterprise CMS), 3rd party component libraries for VS designers, WDK, integration with Azure DevOps workflows, two way modeling of code (not on professsional), mixed language debugging, REPL for all languages, graphical tooling for parallel debugging, ETW, DockerDesktop replacement GUI, ... We where discussing what a Visual Studio full install offers, with a single license.
- Jochim 4y agoRider is great. If you haven't tried VS in a while, VS2022 moved to 64 bit and the performance is much, much better than 2019. There appears to be a lot more coming, many of the preview features focus on making as many interactions as possible asynchronous e.g. loading projects/refactoring operations/Intelliense completions etc.
- Merad 4y agoModern .Net is pretty focused on web apps. Many of us never need to touch C++, GPU, or the other things you mentioned. I've been using Visual Studio for almost 20 years and IMO Rider is simply a superior C# IDE. It's been my daily driver for going on three years. Of course I keep VS installed because of legacy tools like the WinForms designer that aren't supported in Rider, but that's something I need maybe once a year on average?
- pjmlp 4y agoI bet WinDev and MAUI teams have other point of view regarding that. Also, again why pay twice. Maybe when I start seeing Rider demos done at BUILD.
- deleted 4y ago[deleted]
- Kwpolska 4y agohttps://github.com/OmniSharp/Omnisharp-vim https://github.com/OmniSharp/Omnisharp-vim is a thing, but I don’t know how good it is. I would probably go with VSCode or Rider (and their respective Vim plugins), as they are quite productive for .NET.
- sumedh 4y agoOne more vote for Rider on a Mac.
- devmunchies 4y agoI do a lot of F# on Mac/Linux and use sublime. All the nice IDE-like features are accessible through an LSP package for your code editor.
- osigurdson 4y agoThis is one mark I have against C#, it is not very stock vim friendly (plug-ins likely exist however). IDE support is almost a requirement for C#. I find Python better in this regard. You can always use vs code however.
- zamalek 4y agoSadly, OmniSharp (the LSP for vscode and nvim) isn't all that great. The performance is incredibly bad, easily orders of magnitude worse than VS and Rider. There is this alternative LSP, which I plan to try out still: https://github.com/razzmatazz/csharp-language-server https://github.com/razzmatazz/csharp-language-server At the moment I'm stuck with Rider, which is terrible (there is an official vim mode plugin), but I still have to port my bindings over to their vim config. Telescope etc. isn't available, which is a sad day.
- nonbirithm 4y agoRider is pretty much the only decent option for me, if Linux is a requirement. However not even Rider supports .NET Hot Reloading (Edit and Continue), because Microsoft hasn't implemented runtime support for it in Linux. Doing so would probably work against their vested interest in rolling in Visual Studio subscriptions. Yet EnC is a significant timesaver for my projects, to the point where I find it hard to work without it. https://github.com/dotnet/runtime/issues/12409 https://github.com/dotnet/runtime/issues/12409 So the most efficient C# development solution for me is going back to Windows and Visual Studio. As they want it to be.
- atraac 4y ago> So the most efficient C# development solution for me is going back to Windows and Visual Studio. As they want it to be. Hot reload works mostly fine in Rider on Windows.
- lc9er 4y agoI mostly work with Powershell, but dabble in C#. Both omnisharp and the Powershell CoC plugins for Neovim seemed to break often. I've switched to VS Code for Powershell and Visual Studio for C#, as sad as that makes me.
- JenrHywy 4y agoI use vim plugins for whichever IDE (VS, vscode, Rider) I'm using - not as good as full-featured as pure vim, but what I needs it's more than good enough.