Search the Community
Showing results for tags 'vs code'.
Found 2 results
-
Hey there, tudo bem com você? 😄 Just sharing with you all my configs for Visual Studio Code (VS Code), a simple and feasible coding tool for Arma 3, even in 2023 where, if you already tried to use some available extensions, may be frustrating. If you got some smart stuff to VS Code, please, be kind and share it here 😉 VS Code here on my end: VS Code > tool download (free): https://code.visualstudio.com/download (Win/Linux/Mac) VS Code > Essential extensions for Arma 3: SQF-VM Language Server by SQF-VM https://marketplace.visualstudio.com/items?itemName=SQF-VM.sqf-vm-language-server SQF Language Updated by blackfisch https://marketplace.visualstudio.com/items?itemName=blackfisch.sqf-language SQFLint by SkaceKachna https://marketplace.visualstudio.com/items?itemName=skacekachna.sqflint SQF Wiki by Eelis Lynne https://marketplace.visualstudio.com/items?itemName=EelisLynne.sqf-wiki VS Code > extensions recommended: Theme: Atom One Dark Theme https://marketplace.visualstudio.com/items?itemName=akamud.vscode-theme-onedark VS Code > My customs to help for ARMA: Ctrl + Shift + P (Not working for you? Troubleshooting down below) Type "settings.json" (no quotes) and select "Open USER settings (json)"; Adapt the code below for your like: { "workbench.colorCustomizations": { "editor.selectionBackground": "#E5FFE6", "editor.selectionHighlightBackground": "#E5FFE6", "editor.findMatchBackground": "#818181", //Current SEARCH MATCH "editor.findMatchHighlightBackground": "#818181" //Other SEARCH MATCHES }, "sqf.enableCBA": true, "sqf.enableACE3": true, "workbench.iconTheme": null, "workbench.colorTheme": "Atom One Dark", "editor.minimap.enabled": false, "breadcrumbs.enabled": false, "editor.renderWhitespace": "all", "workbench.activityBar.visible": false, "zenMode.hideLineNumbers": false, "security.workspace.trust.untrustedFiles": "open", "editor.wordWrap": "on", "diffEditor.wordWrap": "on", "files.autoSaveDelay": 5000, "editor.tokenColorCustomizations": { "[Atom One Dark]": { "variables": "#eb54de", "functions": "#ff9b58", "numbers": "#49f5b3", "strings": "#70fa20", "keywords": "#fc6620", "comments": "#505050", "types": "#0004ff", "textMateRules": [ { "scope": ["constant.other"], "settings": { "foreground": "#1400c4" } }, { "scope": ["support.function"], "settings": { "foreground": "#fff5cb", "fontStyle": "italic" } }, { "scope": ["keyword.operator"], "settings": { "foreground": "#7ee9fc", "fontStyle": "bold" } }, { "scope": ["variable.language"], "settings": { "foreground": "#a13140" } }, { "scope": ["meta.function-call"], "settings": { "foreground": "#fc6620" } }, { "scope": ["punctuation.terminator"], "settings": { "foreground": "#ffffff" } }, ] } }, "editor.semanticHighlighting.enabled": true, "editor.semanticTokenColorCustomizations": { "[Atom One Dark]": { "enabled": true, "rules": { "*.declaration": { "bold": true } } } }, "files.associations": { "*.json": "jsonc", "*.sqf": "sqf" }, "C_Cpp.autocompleteAddParentheses": true, "sqflint.checkPaths": true, "files.autoSave": "afterDelay", "settingsSync.ignoredSettings": [ ], "workbench.startupEditor": "none", "explorer.confirmDelete": false, "explorer.confirmDragAndDrop": false, "sqflint.warnings": false, "cmake.parseBuildDiagnostics": false, "editor.inlayHints.enabled": false, //"window.menuBarVisibility": "toggle", "editor.hover.delay": 2500 } Share your thoughts and exp 😉 - - - - - - - - - - - Troubleshooting > Can't find out the settings.json? Go to Preferences, pressing Ctrl + , (control + comma) Scroll to "Files: Associations" Add both items down below: Try again the Ctrl+Shift+P. If not working yet, let's try this: Go to Preferences again, pressing Ctrl + , (control + comma) Type "Theme"; In the result list, find out "Edit in settings.json". Now you are ready to customize the VSC colors.
-
[VS Code ~ SQF] Visual Studio Code - SQF Language
Armitxes posted a topic in ARMA 2 & OA : Community Made Utilities
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 Installation Only 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