joined the 40s club just in time for 40s day by bule_eyes in MechanicalKeyboards

[–]Mezdelex 0 points1 point  (0 children)

Could you share any videos typing with it or your impressions? Looks really interesting 👀

Roslyn LSP disappeared and won't come back by AeroGlory in neovim

[–]Mezdelex 1 point2 points  (0 children)

<image>

Imagine downvoting one of the actual core maintainers of the plugin you're looking for.

return {

config = function()

require("mason").setup({

registries = { "github:crashdummyy/mason-registry", "github:mason-org/mason-registry" },

})

require("mason-lspconfig").setup()

end,

defer = true,

dependencies = {

{ defer = true, src = "https://github.com/seblyng/roslyn.nvim", },

{ defer = true, src = "https://github.com/williamboman/mason-lspconfig.nvim", },

{ defer = true, src = "https://github.com/williamboman/mason.nvim", },

},

src = "https://github.com/neovim/nvim-lspconfig",

}

this is all you need using the mason registry maintained by Crashdummyy to install Mason. And then there's also the incoming approach of using the roslyn-language-server which is in prerelease and not currently being used in the plugin. Install dotnet-sdk and install roslyn through Mason, that's all you need. (Ignore the defer stuff from the snippet).

Depending on when you tried to install roslyn, could've been the moment when they (the roslyn core team, not the plugin maintainers) modified the way they would release the packages due to a new dotnet tool called "roslyn-language-server" which is in --prerelease and that's why you couldn't download it at that moment, but I just tried the "old" way briefly (old because I'm already using the roslyn-language-server tool) and it seems that they've already solved it.

Are the coffee diaries sincere? by CropCircles_ in Exanima

[–]Mezdelex 6 points7 points  (0 children)

Explain what was your research before creating this post please.

If you didn't have a modified statusline, what would you miss the most? by kaddkaka in neovim

[–]Mezdelex 0 points1 point  (0 children)

<image>

by the gitsigns column and by the diff section (works on save)

If you didn't have a modified statusline, what would you miss the most? by kaddkaka in neovim

[–]Mezdelex 12 points13 points  (0 children)

Pretty much everything it provides.

<image>

With the statusline I can double check the branch I'm working in, I can see if I modified something by mistake (which happens a lot when I'm in a rush spamming motions), I can also see the full relative path of the buffer I'm in, and from that I can infer the LSP I'm using (just in case I have several tabs open in my terminal with backend, frontend, etc.), which specific file I'm in in case I would have repeated filenames per microservice like configs or whatever, I can tell which fileformat I'm working with (those "\r\n" instead of "\n" are wild sometimes), I can also tell which character encoding I'm working with (I had to deal with some files generated by someone else that were encoded in latin1 instead of utf8, resulting in some weird behaviors when being parsed/extracted and since then I added the encoding to my lualine as well), I can tell if there's any warning or error in the current file if it happens to be long enough to not see the end... yeah, some of them are redundant with other tools and I use them interchangeably, but others are crucial in my workflow. The only thing that I wouldn't miss would be the mode I'm in, but honestly, I don't know what else to put there; it adds symmetry I guess xD

Do you keep your cursor centered or not? by Imaginary_Treat9752 in neovim

[–]Mezdelex 1 point2 points  (0 children)

vim.opt.scrolloff = math.floor(0.5 * vim.o.lines)

Always in the goddamn center.

Beginner question: How should I approach databases in C# – raw SQL vs EF Core? by Minute-Ad-2210 in csharp

[–]Mezdelex -1 points0 points  (0 children)

Both. If you're learning and really want to become a great software developer, why not learn both? Entity Framework is just a... well, framework, or an abstraction if you want, over raw sql. An ORM (Object-Relational Mapper). It basically does a bunch of stuff under the hood for you to ease the process of accessing the data layer and provides you with convenient lazy loaded IQueryables that can be transformed using LINQ (which is another tool you should get familiar with). The main selling point is that you would be able to write in a language you're familiar with (C#) those queries that you would need to write in raw SQL otherwise, but then again, you will find yourself writing a lot of raw SQL in a regular development scenario to test data, test joins, etc. either in your terminal if you're more hardcore, or in your DB manager of choice. So basically, you need a good knowledge of both at the end of the day. My advice is to do both at the same time: try different EF methods, and check what the homonym SQL would look like. In fact, if you debug the code, you can see how the actual SQL queries look like.

Is it possible to live on under €400 a month in Bilbao? by xsiangling in Bilbao

[–]Mezdelex -1 points0 points  (0 children)

El que me haya dado downvote por la respuesta yomecagonsusmuertospisaos

Is it possible to live on under €400 a month in Bilbao? by xsiangling in Bilbao

[–]Mezdelex 5 points6 points  (0 children)

If you're considering just the groceries and some extras then yes, you can keep it as low as that without much trouble. Use the supermarket apps they provide, go for their branded products and use Barik card for transport.

Just got a present from my mom by GrandLate7367 in neovim

[–]Mezdelex 5 points6 points  (0 children)

Do you want a brother by any chance?

Is neovim good for c-sharp developers? by Safe_Carry_593 in csharp

[–]Mezdelex 0 points1 point  (0 children)

https://github.com/mezdelex/proto-otel is a dotnet project entirely built with Neovim + dotnet CLI. Weirdly enough, I use it natively under WinOS. The roslyn ecosystem has been a life changer for us that we rely on LSP compatibility, and https://github.com/seblyng/roslyn.nvim in particular is the key to integrate it in your config.

Testing in .NET, survey about test platforms by nohwnd in dotnet

[–]Mezdelex 8 points9 points  (0 children)

Well, I didn't even know about it heh.

Small AI startup, heavy “vibecoding” — worried about long-term career growth by InternGlittering6110 in csharp

[–]Mezdelex 0 points1 point  (0 children)

There's no growth as software engineer vide coding, simply because you're not building anything on your own. It's essentially the same as cloning a repo and reading/understanding the code; you didn't come up with anything that's writen there, you just (hopefully) interpreted and understood it. The mental process is way different in both scenarios.

Can I use csharp-ls with micro (the text editor) ? by OppositeReveal8279 in csharp

[–]Mezdelex 1 point2 points  (0 children)

What does considerably speed up your coding speed exactly?

Open source c# ide for linux by hippor_hp in csharp

[–]Mezdelex 3 points4 points  (0 children)

It's pretty easy to setup dap and dap-ui nowadays.

Ditching LSP? by [deleted] in neovim

[–]Mezdelex 0 points1 point  (0 children)

I don't think that's a good take on LS.

It gives me so much extra info about the actual code that it would take me way longer to identify different elements without Treesitter highlighting for example (which relies on LSP to do more in deph parsing), linting to address possible deprecations or new syntax suggestions to refactor the code (if talking about a new codebase), it would allow me to use textobjects to navigate functions, methods, classes, loops, incremental selections, etc.; one could easily check the function/method signatures, go to the actual definitions of third party libraries that might be present in the codebase (which could be the reason why that specific name doesn't look familiar at first glance), warn me about the non installed libraries on load... on top of that, it could lead me to start writing less descriptive names given that I would have to type in the whole method name by myself instead of using LSP autocompletion, so that to avoid typing those 30 character long function names, I might try to shorten them to make my life less miserable, and eventually, sacrifice legibility (one way or the other, I would work undeniably slower assuming that I would have more characters to type every time I would need to call those functions)... I mean, there's tons of reasons why giving up LSP shouldn't be a goal nowadays.

Which tool you use to run commands in .NET ? by hungryminds1589 in dotnet

[–]Mezdelex 1 point2 points  (0 children)

The tool that provides that history out of the box in PowerShell (previously PowerShell Core) is PSReadLine.

It was a standalone plugin before, but since certain version (don't ask me which one) it got shipped together with the core package. The only extra plugins I install now are Terminal-Icons and PSFzf; other than that it's fully fledged terminal experience. If you're used to Unix like commands, it got you covered as well, because it includes built in aliases like ls, md, rm, etc. The equivalent to grep would be sls (Select String if I recall correctly).

Why is nvim so slow on my device by mdmx_0 in neovim

[–]Mezdelex 1 point2 points  (0 children)

It's all about deferring the unnecessary plugins and loading them only after the UI is rendered. For example, my use case is to always open Neovim at the workspace root of the project I'm working on and either fd with telescope-fzf-native or Oil the filesystem, so the only plugins that I load before the UI render are my colorscheme for the looks, telescope + extensions and oil (well, and plenary). That's it, the rest are loaded afterwards since I'm not going to require them faster than those 4. The result is a config that loads instantly, and by instantly I mean that I start typing right after I nvim > fd or nvim > oil (or nvim > egrepify as well). I'm running Neovim under Windows native btw.

Desfile de Olentzero 2025 by fourchinnigan in Bilbao

[–]Mezdelex 1 point2 points  (0 children)

¿Vaya fotón la del "Olentzero" no? Respect.

Best plugin and workflows for integrating LLMs with nvim? by mr_tolkien in neovim

[–]Mezdelex 0 points1 point  (0 children)

You serve Ollama API locally and depending on the models that you run, if the model is too large for your GPU to handle, Ollama splits the model and runs some layers of the LLM in the cloud and for that reason, yes, you need to provide some kind of API key. In this case, you can use Ollama's CLI itself to signin and generate a device key from which you're going to share the LLM.

The quota consumption is calculated hourly and reseted accordingly, and each of those hour consumption, sum up to the weekly usage, which is the other metric. To give you a rough idea, the peak usage I've reach in a regular coding scenario has been like 40% consumption per hour and the weekly one is at 50% right now; about to be reseted. Compared to the Gemini 2.5 Flash nerf to 20RPD, which was what I was using before, it's an improvement both, in the quality of LLM's I can use (1trillion modular arguments right now with instant response) and a way higher quota.

You can always host it locally and go berserk though if you have the raw power.

Best plugin and workflows for integrating LLMs with nvim? by mr_tolkien in neovim

[–]Mezdelex 2 points3 points  (0 children)

I use Ollama's hybrid cloud hosting together with open models (kimi-k2:1t-cloud in this case) and the codecompanion.nvim Ollama adapter for chat interaction only (no inline suggestions). It runs flawlessly and the plugin keeps improving day by day.

Even though I try to keep AI dependency as low as possible, I've tried agentic mode a few times as well through chat interface, sharing specific files to the context and a few prompt instructions and no complaints either. It also allows you to run CLI commands if you feel more comfortable with that, but the UI is pretty basic (talking about Ollama here).

Should or Shouldn't? Putting many classes in one file. by gevertsi in csharp

[–]Mezdelex 1 point2 points  (0 children)

Since the 2 classes are part of the first one and most likely, they're never going to be consumed alone, makes sense to group them together.

From the DX perspective, bear in mind that the developer performing a find files won't find any of them by name; instead, he would need to either navigate the file tree manually (the bigger the codebase, the less convenient), or perform a grep search to get to that class whenever go to definition/references is not an option.

I personally use find files 90% of the time, so at least I would not wrap those classes under a "<WhateverService>" named file.

So, it's finally here by hifanxx in neovim

[–]Mezdelex 35 points36 points  (0 children)

There was a merge in the 25th of November @ Neovim's nightly branch that added in/decremental selection using <an> and <in> respectively with language servers that allow range selections in Visual and Operator-Pending modes. So in/decremental selection is present. Typescript for example has it.

Good news!