Files keep disappearing from Visual Studio solution

I have a project in which I’m using json files to store stuff.
I put them in the resources folder, but they don’t show up in VS.

200953-screenshot-2.png
200952-screenshot-1.png

So I do the usual Right click > Include in project, but anytime something changes in Unity, I come back to VS having hidden the files again and the json files I was working on are closed.

Installing VS2022 (using 2019 before) didn’t change anything, except that at least the json files don’t close on me now. But they still disappear from the solution along with the Resources folder.
Adding a C# script to the folder to keep it visible doesn’t help, as it shows up but the json files still do not.
Same thing happens with the StreamingAssets folder.

At first I thought it was Visual Studio, but I’m starting to suspect that Unity keeps telling it “THIS is your solution” and that I can’t do anything about it. (Though I don’t recall having this problem before.)

Is there any way to tell VS to always include certain file extensions in the solution?

Are you kidding me…
After a whole day of banging my head and wanting to cry because no Google result was helping, and only some time after writing this, I found the solution.

In Unity’s Project Settings, there is an “Additional extension to include” field where you can tell Unity to include json files. Something I’ve obviously done before, but I guess it was too long ago to remember.

Welp, hope this helps anyone having that problem in the future.
Google can be very specific with words sometimes lol.

200955-screenshot-3.png