kayler-renslow / arma-intellij-plugin

A plugin for Intellij IDEA that allows for syntactical analysis, code inspections, and other nifty features for the SQF scripting language in Arma 3.
MIT License
41 stars 10 forks source link

diag commands not yet supported? #61

Closed kju closed 6 years ago

kju commented 6 years ago

ref: https://i.imgur.com/cdVyM83.jpg

all: https://community.bistudio.com/wiki/Arma_3_Diagnostics_Exe https://community.bistudio.com/wiki/Category:Scripting_Commands_Arma_3

kayler-renslow commented 6 years ago

All of the diag commands should be supported. It looks like the error is actually with format command, but it is misreporting the error. Currently, I have format command to require a 2 length array. In this code sample you provided, you only have a 1 length array.

kayler-renslow commented 6 years ago

Fixed by making the format command require only a 1 length array

kayler-renslow commented 6 years ago

fix is available in 2.0.0-pre2