Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Input HelperNew to Visual Studio Code? Get it now.
Input Helper

Input Helper

Gigatrappeur

|
20 installs
| (0) | Free
Add helper with input section in launch.json and tasks.json
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

input-helper README

Add helpers function for launch.json and tasks.json

Features

Features:

  • extension.input-helper.hostname: return the hostname (the fully hostname and not the short name in %COMPUTERNAME% truncated to 15 chars)

extension.input-helper.hostname

Example in launch.json

{
    "version": "0.2.0",
    "configurations": [
         {
            "name": "Test",
            "type": "debugpy",
            "request": "launch",
            "module": "uvicorn",
            "cwd": "${workspaceFolder}",
            "args": [
                "main:app",
                "--reload"
            ],
            "env": {
                "HOSTNAME": "${input:get_hostname}",
            }
         }
    ],
    "inputs": [
        {
            "id": "get_hostname",
            "type": "command",
            "command": "extension.input-helper.hostname"
        }
    ]
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft