Hello @teastain
I am afraid I cannot help, sorry. I exclusively use Visual Studio Code with PlatformIO / pioarduino (which so far doesn't have this issue).
Note: Visual Studio Code / PlatformIO doesn't use M5Stack boards and setting up new Cores (M5Stack and others) can sometimes be quite difficult as well.
Thanks
Felix