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
arma arma3 development pbo vscode

Arma Dev

Building Arma 3 mod made easier using the Arma Dev tooling extension This Visual Studio Code extensions will optimize your workflow on building and signing pbo's, preview dialog controls and automate execution and installation.

Getting Started DialogControl preview

Features

Usage

Before using the Arma Dev extension, please make sure you have properly installed the Arma 3 Tools from Steam.

Open your existing Arma (server / client) and run the Arma 3: Configure command to setup the project. Please refer to the Configuration section for further details

Below you can find all available commands

Configuration

The configuration file is located in .vscode/arma-dev.json and contains the following options.

Toggle Code Live

PLEASE READ THIS CAREFULLY

With "Code live" you can edit *.sqf files while Arma is running. It uses symlinks (refering to its workspace source) and the -filePatching startup parameter.

A proper configured $PBOPREFIX$ for every addon file is required

So, how to use it

Please be aware of the following

HINT: Use [] spawn { compile preProcessFile "x\youraddon\yourfile.sqf" }; instead of execVM "x\youraddon\yourfile.sqf" from console to update file modifications

Post Processing

The post processing option (defined in .vscode/arma-dev.json) can be helpful to run additional tasks once a command has been successfully executed. An example of running a script when for instance all files are transfered to the remote can look the following:

"postProcess": {
    "transferFiles": "./restart-server.ps1"
}

Please note these commands are always executed locally

Requirements

PLEASE MAKE SURE STEAM IS RUNNING AS IT IS REQUIRED FOR PACKING

Extension Settings