I am a newbie to Pumas, but I’ve been using Julia (v1.7.3) for over 2 years. After installing Pumas 2.4.1 desktop client, my VS Code’s default Julia version changed to v1.9.2. I have many projects (and corresponding packages) installed for v1.7.3. Unfortunately, I could not find a straightforward way to switch between different versions of Julia in VS Code anywhere on this site. I would prefer dealing with non-Pumas projects of mine being handled by the vanilla Julia rather than the version of Julia that I got from downloading Pumas.
My request is the following: could someone tell me how to isolate the vanilla Julia installed on a machine from the Pumas+Julia combination installation in VS Code and how to switch between them?
It should be possible to use a normal Julia 1.7 installation with non-Pumas related projects by adjusting the Julia settings for specific workspaces. Essentially you need to point to a different executable in the workspace settings as well as ensure that no other Pumas specific settings are set. Please refer to Visual Studio Code User and Workspace Settings and Julia in Visual Studio Code for the details.
Just wanted to confirm with you if the executable path for pumas julia needs to be in global(User) settings in VSCode?
I was looking ways to set normal julia executable pathway as my global settings and make Pumas julia run in specific workspaces, but it didn’t let me and I assume because of the additional arguments?
Link executablePath in settings.json file and save.
Set pumas+julia by project specific
Open workspace and navigate to Julia:Environment Path under Workspace tab and click Edit in settings.json. settings.json file will be created under .vscode folder
Paste pumas+julia.json text into settings.json and save