VSCode Monkey C Build syntax

Hi, 

In advance, forgive me, if this is an obvious question, I was trying to search for it, but couldn't find any real answer, so allow me to ask your help:

-  When you build a watch face project in VSCode, it is automatically create the cmd syntax in terminal and execute it, e.g. like this:

How can I edit this syntax as I would prefer to have ? (e.g. because I would like to change the name or the build location of the PRG)

Big thanks in advance for any advice!

  • If you mean the "garmin.prg", the "Garmin" is the name of the folder where you have your code/resources/etc.  Just rename the folder to MyWf or whatever.

  • Thank you for your reply, but the point of my question was: how can I modify the terminal cmd syntax invoked by VSCode Monkey C Build command ?  (changing the prg the name was just an example)

  • It uses the folder name of the project. See launch.json for your app:

            {
                "type": "monkeyc",
                "request": "launch",
                "name": "Run App",
                "prg": "${workspaceFolder}${pathSeparator}bin${pathSeparator}${workspaceFolderBasename}.prg",
                "prgDebugXml": "${workspaceFolder}${pathSeparator}bin${pathSeparator}${workspaceFolderBasename}.prg.debug.xml",
                "stopAtLaunch": false,
                "device": "${command:GetTargetDevice}"
            }

    The name of the prg is the name of the project's folder.

    Eclipse works the same way - the project name is the .prg's name.

    If you are concerned about the AppName that shows for your app, that's in resources and a string with the AppName id.

    <strings>
        <string id="AppName">Sys5</string>
    </strings>

  • Thank you for your reply! Unfortunately, it was still not what I was looking for, but since I am unable to explain it better than I did above, I first try to gather some extra information to better describe my target, before I keep asking further. Appreciate your time, and have a great day!