Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>RPy for robloxNew to Visual Studio Code? Get it now.
RPy for roblox

RPy for roblox

rpy

| (0) | Free
Python-to-Luau transpiler IDE support: diagnostics, hover, completion, and go to definition.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RPy: Python for Roblox

Official Visual Studio Code extension for the RPy (Python-to-Luau) compiler.

This extension provides robust Language Server Protocol (LSP) features while writing modern Python for Roblox, directly accelerating your development workflow.

Features

  • Real-time Diagnostics: Immediate syntax and type analysis errors inline.
  • Hover Information: See inferred Luau and Roblox types when hovering over code.
  • Code Completion: Rich dot-access completions for Roblox APIs (e.g. game.Workspace).
  • Go to Definition: CTRL+Click to jump directly to where elements were defined.

Requirements

  1. RPy Compiler: You must have the RPy Python compiler installed globally on your machine (via pip install rpy-roblox or running the package locally).
  2. The rpy CLI command must be available in your system PATH.

Extension Settings

This extension contributes the following settings:

  • rpy.binaryPath: If rpy is not in your system PATH, you can provide the absolute path to the rpy executable here. (e.g. C:\\Paths\\To\\rpy.exe or /usr/local/bin/rpy).

Troubleshooting

  • Server fails to start: Ensure the rpy lsp command works in your terminal. If you installed it in a virtual environment, ensure your rpy.binaryPath points to the rpy script inside that virtual environment.
  • Extension Commands: You can restart an unresponsive server by pressing Ctrl+Shift+P and typing RPy: Restart Server.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft