ole1986 / vscode-arma-dev

Arma Dev for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ole1986.arma-dev
7 stars 6 forks source link

Unable to use extension #5

Closed hobnob11 closed 4 years ago

hobnob11 commented 4 years ago

[03:37:11.951][Error] TypeError: Cannot read property 'postProcess' of undefined Get the above error when trying to use arma 3: Configure

ole1986 commented 4 years ago

How does your .vscode/arma-dev.json file look like?

Is there a "postProcess" property defined?

hobnob11 commented 4 years ago

The file does not exist.

ole1986 commented 4 years ago

Ah. so its first time use actually

hobnob11 commented 4 years ago

yes

ole1986 commented 4 years ago

I am sorry for the delay I always wanted to send you an "empty" configuration as workaround so you may not need to use the command Arma 3: Configure

So you can add the below configuration as "template" as.vscode/arma-dev.json file

{
    "title": "Your mod title",
    "name": "YourModName",
    "author": "authorName",
    "website": "https://github.com/optional/repo/location",
    "version": "1.0.0",
    "buildPath": "./",
    "privateKey": "yourprivkey.biprivatekey",
    "serverDirs": [
        "source\\yourmed_server"
    ],
    "serverMods": [
        "@ExileServer"
    ],
    "serverParams": "",
    "serverUse32bit": true,
    "clientDirs": [
        "source\\yourmod_client"
    ],
    "clientMods": [
        "@Exile"
    ]
}

An example project working with arma-dev.json configuration can be found here: https://github.com/ole1986/a3-admintoolkit

For further details on the settings, checkout the schema file: schemas/arma-dev.schema.json