it seems the latest VS code version is giving this regression error, downgrading it to 1.85.0 works for me.