Playback_settings.recording_file_path not working in VSC

I have tried to use playback_settings.recording_file_path in my code but it does not generate a file if I us Visual Studio Code.
In fact the setting recording_file_path does not appear when I type the dot after playback_settings (which lists all the options like pressing TAB in Thony).

When I try Thony it does work (and gives me the shortcut when I press TAB).
I have scamp 8.9 installed for both VSC and Thony.

Can you try running the following in VSC:

import scamp
print(scamp.utilities.resolve_path("recording.wav"))
print(scamp.utilities.resolve_path("%DATA/recording.wav"))
print(scamp.utilities.resolve_path("%PKG/recording.wav"))
print(scamp.utilities.resolve_path("/recording.wav"))
print(scamp.utilities.resolve_path("~/recording.wav"))

What gets printed?

PS G:\Python\Scamp\Tutorials> & C:/Users/frmau/AppData/Local/Programs/Python/Python39/python.exe “g:/Python/Scamp/Tutorials/.vscode/Computer Assisted Music in Python/Module 2/recording_test.py”
G:\Python\Scamp\Tutorials\recording.wav
C:\Users\frmau\AppData\Local\SCAMP\recording.wav
C:\Users\frmau\AppData\Local\Programs\Python\Python39\lib\site-packages\scamp\recording.wav
/recording.wav
C:\Users\frmau/recording.wav
PS G:\Python\Scamp\Tutorials>

I actually got it working. I didn’t put double back slashes into the path. No it worked OK without the double slashes with the sf2 file but failed on the wav file!