VSCode Won't Auto-Complete Editor Scripts

Just as the heading says. I write my code using Visual Studio Code. Everything works when I’m writing normal scripts, but whenever I try to write a custom Editor script, auto-complete stops working for that file. I can have two tabs open in VSCode, one that is a regular script for my game, and the other a custom editor script (in an “Editor” folder, of course), and my regular script will auto-complete, but my editor script will not.

I should also note that when I say that auto-complete stops working, I mean for all Unity-related things. No other namespaces, functions, or classes show up, but basic things such as finishing basic types (int, float, etc.) and keywords (class, for, foreach) stay. I just seem to lose it for Unity-specific things.

I’m assuming that this has something to do with the editor scripts being in a different assembly, but I don’t know how to fix it. I would also think that this would still keep Unity Editor-specific things, but it does not. Has anyone else had the same problem and know how to fix it?

I fixed the problem by updating Unity. I don’t know what was causing the issue, but a fresh install seems to have fixed it.