I’m encountering an issue where scripts I create are (by default) placed in the assets directory, but I want my scripts to exist in a more hierarchical folder structure that I made. However when I move my scripts out of the assets folder the visual studio intellisense breaks. It no longer detects compile errors, recognizes Objects in scope, or autocompletes. It makes development significantly more frustrating. I am wondering if anyone else has encountered this issue and knows how to solve it, or at least how to make intellisense work for scripts in directories other than /Assets.
So I have a file currently in my top level Assets folder called TopLevelOrchestrator.cs, when I open it in visualstudio it works perfectly. If I drag the script in unity from the /Assets store to the /Assets/Scripts, It still works perfectly in unity and compiles but editing it in VisualSTudio loses compile error notifications, ctrl+click inspection, auto complete, and most colorization. It’s basically just glorified notepad. If I take the script and move it back to /Assets it immediately begins to work again. And this will happen to any script I move out of /Assets.