How to activate Julia in VS code on Fedora 39?

I just moved to Fedora from Ubuntu. I have installed VS code with the Julia extension. The executable is present in ‘/bin/’, so I set the environment in VS as /bin/julia. However, (1) VS asks every time to set the juliaExecutablerPath, and (2) after I have changed (again) the path, I can’t run the file because I get the error Cannot read properties of undefined (reading file).
How can I fix these errors once and for all?
Thank you

Are you using the rpm or flatpak version of VS code?
If you’re using the flatpak does it have permissions for the directory?

I install it from the software center

Should be from flatpak but you can check like open software select installed apps and open VS code check with drop arrow it is rpm or flatpak

Yes, it is flatpack…