Jump to content
thy_

[VS CODE] Tutorial: how to config VS Code for Arma 3 (2022)

Recommended Posts

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 2022 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:

Screenshot-5.png

 

VS Code > tool download (free):

 

VS Code > Essential extensions for Arma 3:

 

VS Code > extensions recommended:

 

VS Code > My customs to help for ARMA:

  1. Ctrl+Shift+P;
  2. Type "settings.json" (no quotes) and select "Open USER settings (json)"; 
  3. Adapt the code below for your like:

 

{
    "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"
    },
    "C_Cpp.autocompleteAddParentheses": true,
    "sqflint.checkPaths": true
}

 

Share your thoughts and exp 😉

 

  • Like 2

Share this post


Link to post
Share on other sites

Thanks for sharing. Here are three more extensions that I find really useful.

 

Tyriar.sort-lines (Sort lines with various settings)

moshfeu.diff-merge (Compare two files and merge differences)

bux578.vscode-openlastrpt (Opens latest RPT with ALT + R)

Share this post


Link to post
Share on other sites
On 9/3/2022 at 3:22 PM, R3vo said:

Thanks for sharing. Here are three more extensions that I find really useful.

 

Tyriar.sort-lines (Sort lines with various settings)

moshfeu.diff-merge (Compare two files and merge differences)

bux578.vscode-openlastrpt (Opens latest RPT with ALT + R)

 

😉

  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×