Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>give-fileline-to-scriptNew to Visual Studio Code? Get it now.
give-fileline-to-script

give-fileline-to-script

developmentpersecond

|
100 installs
| (1) | Free
passes the arguments -filename and -lineno on a right click to any script
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Give File Line to Script

Description

A simple VSCode extension that passes the file path and line number to a specified script when you right-click in the editor".

Usage

  1. Configure the Script Command:
    • Open your workspace settings (.vscode/settings.json).
    • Add the give-fileline-to-script.scriptcommand setting with the path to your script. For example:
    {
        "give-fileline-to-script.scriptcommand": "/usr/bin/python3 /workspaces/my-vscode-extension/new_pyscript.py"
    }
    
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft