Intellisense not working when coding non-monobehaviour scripts

I am using visual studio and everything works correctly, intellisense auto complete works

but only when I am coding inside a monobehaviour script

when I create something like an editor script

Intellisense doesnt work in the editor script, so I end up coding inside a monobehaviour script and then I just paste it to the editor script

Is this a known issue?

This may help you with intellisense and possibly other Visual Studio integration problems:

Sometimes the fix is as simple as doing Assets → Open C# Project from Unity. Other times it requires more.

Other times it requires you also nuke the userprefs and .vsconfig and other crufty low-value high-hassle files that Visual Studio tends to slowly damage over time, then try the above trick.

Barring all that, move on to other ideas:

Also, try update the package inside of Unity: Window → Package Manager → Search for Visual Studio Editor → Press the Update button

Update: The VSC extension has been deprecated.

There is a community fork available that is receiving updates.

Also, this: No suggestions in Vscode

The type of script you’re making should have no difference on Intellisense working. Are you just forgetting to include using’s?

it shouldnt be the usings right? the script works even without the intellisense detecting anything