Files
homelab/.vscode
2025-02-19 11:32:30 -05:00
..
2025-02-19 11:32:30 -05:00

VSCODE Configuration

Fix Paste (if ctrl+v not working)

Add to user keyboard settings (json)

  {
    "key": "ctrl+v",
    "command": "-editor.action.clipboardPasteAction"
  },

Shell

Edit settings.json

{
    "terminal.integrated.defaultProfile.linux": "zsh",
}

Fonts

Intel One Mono is designed to be easily readable for developers.

https://github.com/intel/intel-one-mono

Download and extract the ttf.zip

mkdir ~/.local/share/fonts
rsync -av /path/to/download/*.ttf ~/.local/share/fonts/

Edit settings.json

{
    "editor.fontFamily": "Intel One Mono",
    "editor.fontLigatures": true,
    "terminal.integrated.fontFamily": "Intel One Mono",
}

Navigation

The best navigation shortcut ever is alt+left and alt+right to move the cursor to it's previous positions.

[
    {
        "key": "alt+left",
        "command": "workbench.action.navigateBack",
        "when": ""
    },
    {
        "key": "alt+right",
        "command": "workbench.action.navigateForward",
        "when": ""
    }
]

Extensions

To save a list of installed extensions run:

code --list-extensions >> vscode_extensions.txt

To install that list of extensions run:

cat vscode_extensions.txt | xargs -L 1 code --install-extension

Continue

{
  "models": [
    {
      "title": "qwen2.5-coder:32b",
      "provider": "ollama",
      "apiBase": "https://ollama.example.com",
      "apiKey": "...",
      "model": "qwen2.5-coder:32b"
    }
  ],
...