I opened my .code-workpsace file in another text editor and changed the references in the JSON from ../../../../var/www/project-folder to /mnt/hdd-uuid/www/project-folder, then reopen VS Code. Close all file tabs open and, when you open again a modified file it will show the lines changed.