"Add Argument" in Visual Studio Code doesn't seem to work

If you Edit your build configuration and then add and argument using this button:

it doesn't seem to work. I've tried doing File->Save and using the Build Configuration button, but if you then close the build configuration and re-open it, your new argument is gone (and I can see in the build commands when you build, the argument is not in the command line to the compiler.)

SDK 2.6.1

Parents
  • It appears the build configuration is not saved (and even doing File->Save doesn't do anything.)

  • Hi,

    I am unable to view the video file attached. Could you re-share this?

  • Not sure what the issue is. Seems it is at your end. The video shows up right in the browser when I'm viewing this ticket...

  • This is how I see it. Please try to zip the video and attach the file. This might help.

    -Priyanka

  • I've tried 2 different browsers. Appears fine in both. Have you tried downloading the file from the Attachments area? Did the first video work for you? I believe the problem is at your end.

  • Hi Simon,

    Yes, it might be at our end here. But this does happen with some video files attached by users and that' when we ask them to zip the video in a folder and attach the zip file. The previous video is visible, and according to that, you only press the OK and do not "Build Configuration", and then leave the page, which clears the options you entered, which is a expected behavior. 

    The second video I am not able to view, and the attachments that you have attached, when I download, I get an empty download.

     

    Anyway, this is how you should be doing:

    First enter you CMake arguments, then click OK and then before closing that Add Build Configuration page, you need to Build Configuration in order to reflect the change.

  • I see what I was doing "wrong". After entering the new CMake Argument, I was hitting "Build" under the actions on the left side of the window instead of the "Build Configuration" button (which is normally off the bottom of the screen and you have to scroll down to it.) Seems this is a bug. As per any normal Windows application behaviour, you shouldn't be able to lose your changes without a "are you sure you want to close without saving" type of window popping up. Please report this to your developers.

Reply
  • I see what I was doing "wrong". After entering the new CMake Argument, I was hitting "Build" under the actions on the left side of the window instead of the "Build Configuration" button (which is normally off the bottom of the screen and you have to scroll down to it.) Seems this is a bug. As per any normal Windows application behaviour, you shouldn't be able to lose your changes without a "are you sure you want to close without saving" type of window popping up. Please report this to your developers.

Children
Related