guides

IDE Integration

Integrate Pyvorin into VS Code, PyCharm, Vim, and other editors for one-click compilation.

Published May 30, 2026

VS Code

Install the Pyvorin extension from the marketplace (or configure a custom task):

{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Pyvorin Compile",
      "type": "shell",
      "command": "pyvorin",
      "args": ["run", "${file}"],
      "group": "build"
    }
  ]
}

Bind the task to a keyboard shortcut for one-key compilation.

PyCharm / IntelliJ

Create an External Tool:

  1. Settings → Tools → External Tools → Add
  2. Program: pyvorin
  3. Arguments: run $FilePath$
  4. Working directory: $ProjectFileDir$

Assign a shortcut in Keymap → External Tools.

Vim / Neovim

" Compile current file with Pyvorin
command! PyvorinRun :!pyvorin run %

" Or with a keymap
nnoremap p :!pyvorin run %

Emacs

(defun pyvorin-run-current-file ()
  (interactive)
  (compile (concat "pyvorin run " (buffer-file-name))))

(global-set-key (kbd "C-c p") 'pyvorin-run-current-file)

Sublime Text

Create a build system:

{
  "cmd": ["pyvorin", "run", "$file"],
  "selector": "source.python",
  "file_regex": "^\\s*File \"(...*?)\", line ([0-9]*)"
}

Cursor / Windsurf

These AI-native editors inherit VS Code task support. Use the same tasks.json configuration as VS Code.