[[linux_wiki:vscode_editor]]

This is an old revision of the document!


VScode Editor

General Information

VScode/VScodium settings/useful plugins.


VScode is Microsoft's cross platform code editor.

VScodium is the open source version of VScode, the major difference being no telemetry (no reporting usage stats/phoning home to Microsoft).


Install

Installation of vscode or vscodium.


Different methods of installing vscode here: https://code.visualstudio.com/docs/setup/linux


Installing vscodium here: https://vscodium.com/#install


Custom Code Settings

You can edit custom settings in a json file to add advanced features.

Edit settings either via the CLI or GUI:

  • CLI
    • VSCodium: Edit ~/.config/VSCodium/User/settings.json
    • VSCode: Edit ~/.config/Code/User/settings.json
  • GUI (both codium and code)
    • File > Preferences > Settings
    • In the top right, click the '{}' “Open Settings (JSON)”

To add support for CFT yaml syntax

{
// Custom tags for the parser to use
    "yaml.customTags": [
        "!And",
        "!If",
        "!Not",
        "!Equals",
        "!Or",
        "!FindInMap sequence",
        "!Base64",
        "!Cidr",
        "!Ref",
        "!Sub",
        "!GetAtt",
        "!GetAZs",
        "!ImportValue",
        "!Select",
        "!Select sequence",
        "!Split",
        "!Join sequence"
    ],
}
 

  • linux_wiki/vscode_editor.1562897099.txt.gz
  • Last modified: 2019/07/12 02:04
  • by billdozor