Author: Armitxes
Author Website: https://github.com/Armitxes/VSCode_SQF

Version: 1.0.0

Short description: This extension integrates the SQF Language into Visual Studio Code. For more information please visit the wiki.

Date: 2017-03-13 08:43


Comments: (3)
Rating:



 



Visual Studio Code SQF Language

by
Armitxes


Description:
Microsoft Visual Studio Code is a new, but already very known Code Editor.
Works on Linux, OS X and Windows.

Supported Products:
Operation Flashpoint [OFP], Operation Flashpoint: Resistance
ArmA, ArmA 2, ArmA 3 (DLCs & Extensions included)
Take On Helicopters [ToH]
Community Based Addons [CBA], ACE


Features:
IntelliSense
SQF HighLighting
Autocomplete for control structures
All from https://code.visualstudio.com/Docs, including full git support.
All Arma 2 & Arma 3 commands, including BIS functions
.hpp Support for Dialog and Overlay editing


Installation / Usage:
Visual Studio Code - Information & Download: https://code.visualstudio.com/
GitHub Project: https://github.com/Armitxes/VSCode_SQF
Windows (only) Installer: -> Download from the bottom of the page <- if you use the installer, make sure that you have the latest version of VS Code installed and closed!
SQF Plugin Download (master.zip, manual install for Windows, MAC & Linux): https://github.com/Armitxes/VSCode_SQF/archive/master.zip

Easy Installation (Recommended):
Download Visual Studio Code.
Open the Editor and click on the extension icon to your left ( VSCode_extension_icon.PNG )
Enter "SQF" and hit enter
Select "SQF Language" and click on "Install"
Enjoy

Manual installation:
Use this guide if the installation over the marketplace isn't possible.
Download the file from below.
Install Visual Studio Code.
Navigate to your VS Code extensions folder.
Windows: %USERPROFILE%/.vscode/extensions.
Mac/Linux: $HOME/.vscode/extensions.
In the extensions folder, you create a folder called Armitxes.SQF.

Extract the master.zip inside the Armitxes.SQF folder.


Future plans:
IntelliSense improvements
BIS function support


Notes:
Feel free to ask any questions, aswell the GitHub Project is open for everyone to contribute!

If some parts of your code aren't highlighted, then you may look over it again using the Wiki - the highlighter can become strict at some points to encourage a clean code.

Everyone is now welcome to contribute, the project is open! Simply send me a PM with your GitHub E-Mail Address or Account name.


Changelog:
v1.0.0
Splittet all commands based on when they were introduced. This way you can for example tell VSCode to only provide you commands for ArmA2 or Take on Helicopter commands if working on older / alternative versions.
Added Support for common Community Projects such as CBA or ACE (thanks to bux)
Added Linter (does not conflict with SQFLint)
You now receive warnings on using deprecated commands (in futher development, please report any missing deprecated commands or functions). Note that you must setup the config properly for this to work.
You now receive warnings on using common reserved function namespaces such as "CBA_" or "ACE_" without having such enabled.
Several changes on README, package, etc.

v0.5.8
Added commads for v1.64, v1.66 & latest dev
"this, _this, _x, _forEachIndex, _exception, _thisScript, _thisFSM, thisList, thisTrigger". case-insensitivity supported and conditional parameter highlighting fixed.

v0.5.6
Fixed "Syntax highlighting broken at some point" for your very large SQF files [ Issue #14 ]
Fixed "Boolean values being highlighted as commands" [ Issue #12 ]
Fixed an issue with compile, compileFinal, exec, execFSM, execVM & callExtension commands.

v0.5.4 released by 6265296?v=3&s=40 Armitxes
Added commands of A3: v1.56, v1.58, v 1.60, v1.62 & Dev Branch

v0.5
Case insensitive commands [ Issue #7 ]
Highlighting (alternative color) for _local, public variables [ Issue #9 ]
Added new A3 v1.54 scripting commands
Removed highlighting for brackets (not needed, too disturbing)
Few marketplace adjustments
Improved code logic

v0.3.4
Fixed escapes in string
Fixed a weird issue where code snippets weren't suggested
Added this project to the marketplace and the VS gallery (yay!) -https://marketplace.visualstudio.com/items/Armitxes.sqf

v0.3
Now compatible with new VS Code version
Added a windows installer
Fixed forEach loop and a minor bug with compileFinal
Fixed a bug where there highlighter wasn't working properly with Tabulators in a few cases.
Added all new SQF commands from the v1.5 releases
Drastically reduced the extension size ( 57 kb )
The plugin is now a valid npm package to support new VS Code features

v0.2
Remade the project from scratch for easier contribution
Improved IntelliSense
Added BIS functions
Autocomplete for control structures
Contents of strings and comments will no longer be suggested
Added all operators. Operators are now highlighted in a light grey color
Functions are now separately recognized and highlighted.
Fixed an annoying bug where VS Code failed to tokenize the code / input.
Fixed several minor bugs.

v0.1
- first release


Forum topic:
- BI forums



- Visual Studio Code




Enable javascript to be able to download from Armaholic please!



Tags: Plugin,   Program,   Script,   Sqf,   Tool,   Visual Studio Code