Armitxes 36 Posted July 8, 2015 Visual Studio Code SQF Language v1.0.6 Lastest update: 22.10.2018 Microsoft Visual Studio Code is a new, but already very known Code Editor. Works on Linux, OS X and Windows. Now in the Visual Studio Marketplace-> Report bugs, ask questions or make suggestions <- 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 Easy Installation (Recommended) Download Visual Studio Code. Open the Editor and click on the extension icon to your left ( ) Enter "SQF" and hit enter Select "SQF Language" and click on "Install" Enjoy Manual InstallationOnly use this guide if the installation over the extension manager and/or marketplace isn't working! Download VS Code Download the latest release from GitHub ( https://github.com/Armitxes/VSCode_SQF/releases ) Install Visual Studio Code Navigate to your VS Code extension Folder. Windows: %USERPROFILE%\.vscode\extensions Mac/Linux: $HOME/.vscode/extensions In the plugins folder, you create a folder called Armitxes.SQF, if you have it already delete all files inside! Inside the Armitxes.SQF folder you then unzip the sources you obtained from GitHub That's it, now simply (re-)start Visual Studio Code (or just "Code") and it's done :) With VS Code, every folder is a project! To open your SQF Project simply go on File->Open Folder and choose your mission/mod folder. Feel free to ask any questions, aswell the Code of the GitHub Project was now simplified several times by me and is open for everyone for contribution! Cheers, Armitxes 6 1 Share this post Link to post Share on other sites
Guest Posted July 10, 2015 Release frontpaged on the Armaholic homepage. Visual Studio Code - SQF Plugin v0.1Visual Studio Code Share this post Link to post Share on other sites
bux578 65 Posted July 10, 2015 Wouldn't ever have thought to find a fellow Code user here... Share this post Link to post Share on other sites
RFCRoumble 10 Posted July 11, 2015 Thanks for that usefull language Support! Good Job!! but.... you missed some Things like atan, atan2 things the big boys use i think u Know ;-) would it be okay if the community works on you language pack an post there updates here ? i think we all together could make This the best and Most used Languagepack for scripter.. because the Free Code editor is great for scripters who cant use the Visual Studio like us. or searching for a lightweyght programm that has all features who needet. thanks an regards Share this post Link to post Share on other sites
npk 16 Posted July 14, 2015 Looking forward to see this plugin grow - I've really grown fond of Code in a very short amount of time and this just adds more reason to use it! Share this post Link to post Share on other sites
Armitxes 36 Posted July 21, 2015 (edited) Great 2 see that there is an interest :) YFI this motivates me a lot. I'll release a mayor update soon that will feature soon with tons of bugfixes and new features! Some stuff comming: - Automated code completion! This will create if, while, for, etc. statements for you and help you prevent syntax errors. - IntelliSense will distinguish between the different control structures! - Operators will receive a light grey highlighting - Content of strings and comments will no longer be suggested. - BIS functions added Please don't work on the branch for now ;) Edited July 21, 2015 by Armitxes Share this post Link to post Share on other sites
Matthijs 40 Posted July 25, 2015 Wow, this is great! Thanks! I have a question. When opening an INIT.SQF that I made, I get this error message: "ERROR The mode has failed while tokenizing the input." It is only with one specific file I have and only the first time I open it, after starting Code. Would my file be the problem or is it a plugin error? Share this post Link to post Share on other sites
Armitxes 36 Posted July 27, 2015 Wow, this is great!Thanks! I have a question. When opening an INIT.SQF that I made, I get this error message: "ERROR The mode has failed while tokenizing the input." It is only with one specific file I have and only the first time I open it, after starting Code. Would my file be the problem or is it a plugin error? It's a plugin error. It'll be fixed with the next update. Also after the update is released everyone will be allowed to contribute but first I want to make a solid base for futher changes ;) Share this post Link to post Share on other sites
Armitxes 36 Posted August 12, 2015 A new version was released with all promised features. This version works much more stable than the previous one but please consider that the plugin and the editor itself is still in Alpha. New in 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. Note: 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. Download: https://github.com/Armitxes/VSCode_SQF/archive/master.zip 1 Share this post Link to post Share on other sites
Guest Posted August 12, 2015 New version frontpaged on the Armaholic homepage. Visual Studio Code - SQF Plugin v0.2Visual Studio Code Share this post Link to post Share on other sites
aushilfsalien 11 Posted August 17, 2015 Hey armitxes! I want to try out your plugin but i seems I can't get intellisense/autocompletion working. Do I need to make any other adjustments than creating the folder and unzipping, that I'm unaware of? Code highlighting seems to work. Edit: Looks like I just didn't get the UI of VSCode :unsure: Share this post Link to post Share on other sites
Armitxes 36 Posted August 31, 2015 Hey armitxes! I want to try out your plugin but i seems I can't get intellisense/autocompletion working. Do I need to make any other adjustments than creating the folder and unzipping, that I'm unaware of? Code highlighting seems to work. Edit: Looks like I just didn't get the UI of VSCode :unsure: CTRL + Space is also very helpful on this :) Share this post Link to post Share on other sites
Armitxes 36 Posted September 10, 2015 ---- removed content because outdated ---- Sadly the new VS update breaks all existing plugins so you must do this. Updated my first post. All new features, including 10 new themes (I recommend the high-contrast theme) and TFS are supported :) To change the Theme press F1 and then enter " >Theme " and hit enter. Now you can switch between several themes. More Infos here: https://code.visualstudio.com/updates Share this post Link to post Share on other sites
emrak 12 Posted October 3, 2015 This is a great plugin. Thanks so much armitxes! I hope you keep adding to it as new commands come out! Also, do you know of any way that this could be incorporated into a full-fledged IDE such as VS 2013? That would absolutely make my day year decade. Thanks again EDIT: Actually, I may have found the way... https://www.visualstudio.com/en-us/integrate/explore/explore-vside-vsi.aspx If there's an easy way to convert what you have into something that VS 2013 could use...that would be amazing. Share this post Link to post Share on other sites
Armitxes 36 Posted October 13, 2015 And Micrsoft decided to modify the plugin system again. I'm working on a fix together with the next update. About Visual Studio: I'm sorry to say that it's not planned / officially supported. VS Code offers enough features itself without the heavy load of a full IDE. I hope that VS and VS Code soon share the same plugin/extension system but at the moment the language support for Visual Studio 201X is not planned. Share this post Link to post Share on other sites
KalleBaumann 1 Posted October 14, 2015 Thanks for working on a fix! I really like VS Code and would love to use it again with your nice plugin! 1 Share this post Link to post Share on other sites
Armitxes 36 Posted October 14, 2015 Version 0.3 is now released together with a windows installer. Please check the first post for more details. New in 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 the 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 2 Share this post Link to post Share on other sites
Guest Posted October 14, 2015 New version frontpaged on the Armaholic homepage. Visual Studio Code - SQF Plugin v0.3 Visual Studio Code Share this post Link to post Share on other sites
democore 4 Posted November 6, 2015 Thanks SO much for this! :) Share this post Link to post Share on other sites
Armitxes 36 Posted November 19, 2015 Very good news, VS Code moves to the beta and a new version was released. Also, this extension is now published on the gallery and marketplace so if you like it please rate ;) Marketplace: https://marketplace.visualstudio.com/items/Armitxes.sqf Easy Installation (Recommended, works on every OS) Download Visual Studio Code. Open the Editor and press F1. Enter "ext install" and wait until it finishes loading Select "Extensions: Install Extension" Finally type "SQF" and select "SQF Language" Enjoy New in 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 At the end: Big thanks to the VSC Product Manager Mr. McBreen and his team for making this possible. You are awesome. 1 Share this post Link to post Share on other sites
Guest Posted November 20, 2015 New version frontpaged on the Armaholic homepage. Visual Studio Code - SQF Plugin v0.3.4 Visual Studio Code Share this post Link to post Share on other sites
1212PDMCDMPPM 200 Posted November 21, 2015 Thx armitxes ! I gonna test it this week-end ! EDIT: you should probably crosspost in this section: https://forums.bistudio.com/forum/163-arma-3-community-made-utilities/ You'll get more audience ! :) Share this post Link to post Share on other sites
1212PDMCDMPPM 200 Posted November 21, 2015 Could you add some support of the desciption.ext file please ? Thx ! Share this post Link to post Share on other sites
berno 1 Posted November 25, 2015 This is really fantastic but I'm not getting intellisense or quick suggestions as they call it unless I press CTRL - Space?Whats the trick im missing? Share this post Link to post Share on other sites
1212PDMCDMPPM 200 Posted December 3, 2015 This is really fantastic but I'm not getting intellisense or quick suggestions as they call it unless I press CTRL - Space? Whats the trick im missing? It's working for me for 2-3 days. A Visual Studio Code update probably fixed it. Share this post Link to post Share on other sites