I have just updated to 24.04, and can now see my onedrive in Nautilis, also able to go to a folder on onedrive and open it in terminal.
But when I type code . I get the following error
cannot open path of the current working directory : permission denied
This way of opening VsCode works OK in MacOs and Windows.