I think you're using WSL, To fix your WSL paths in VSCode settings use paths formats like this \\wsl$\Ubuntu-18.04\home\... (you might need to escape backslashes)
\\wsl$\Ubuntu-18.04\home\...