Change Optimization Level in VS Code?

Hi!

I changed from Atom to VS Code, and there is a setting option in Atom which allows one to change the optimization level used in Julia when compiling code. Where do I find this setting in Julia?

I am using Windows

Kind regards

1 Like

If you go to the extension settings of the Julia extension, you see on top “Additional Args”.
Edit this in settings.json and change it, that it looks like:

    ...,
    "julia.additionalArgs": [
        "--optimize=0"
    ],
    ...,

Of course without the … lines and with your desired level 0,1,2 or 3.

4 Likes