Can I use a lighter compiler or run the editor without VS open?

Can I use a lighter compiler like dev with the editor, just to edit code and things like that.
Having the editor and VS open at the same time causes soo much lag…
Also, can I run the editor without VS open?
Tyvm everyone