Prady Language Support for VS CodeFull IDE support for the Prady Programming Language ( 🌐 Website | 📖 Docs | 💡 Extension Guide | ▶ Playground | ⬇ Download Prady ✨ Features
📦 InstallationOption 1 — Install the
|
| Command | Description |
|---|---|
Prady: Run File |
Run the current .pr file with prady run |
Prady: Check File |
Type-check and show diagnostics |
Prady: Show AST |
Print the Abstract Syntax Tree for the current file |
Prady: Show LSP Output |
Open the LSP log channel for debugging |
Keyboard shortcuts:
Ctrl+Alt+N— Run current.prfile
Programs can read a line from the interactive terminal with input() or display a prompt with input("Name: ").
🔧 Settings
Configure in VS Code Settings (Ctrl+,):
| Setting | Default | Description |
|---|---|---|
prady.executablePath |
"prady" |
Path to the prady CLI binary |
prady.lspServerPath |
"" |
Path to prady-lsp (auto-detected if empty) |
Format with Format Document. To format when saving, configure VS Code's standard setting:
"[prady]": { "editor.formatOnSave": true }
The current compiler does not implement full static type checking. The extension reports diagnostics the parser/compiler actually emit and cannot detect every undefined name or type mismatch before execution. It only proposes project imports that map to files it can resolve; documented standard-library namespaces without source modules are not invented as auto-imports.
For the latest diagnostics, completions, formatting, and runner fixes, install Prady Language 1.0.3 or newer and restart VS Code. The extension can use the bundled CLI when a matching platform binary is present; otherwise install Prady separately or set prady.executablePath.
💡 Snippets Reference
| Prefix | Expands to |
|---|---|
fn |
Function definition with typed parameters |
main |
fn main() entry point |
let |
Immutable variable binding |
letmut |
Mutable variable binding (let mut) |
arch |
architecture block with layers |
struct |
Struct definition |
@test |
Test function with @test decorator |
📚 Documentation
| Resource | Link |
|---|---|
| 💡 VS Code & LSP Guide | pradylang.vercel.app/docs/tooling/editor-extensions |
| 📖 Language Docs Home | pradylang.vercel.app/docs |
| 🚀 Getting Started | pradylang.vercel.app/docs/getting-started/overview |
| 📖 The Basics | pradylang.vercel.app/docs/handbook/the-basics |
| 🧩 Everyday Types | pradylang.vercel.app/docs/handbook/everyday-types |
| 🏛️ Architecture Contracts | pradylang.vercel.app/docs/handbook/architecture-contracts |
| 🌲 28 Data Structures | pradylang.vercel.app/docs/reference/data-structures |
| ⌨️ CLI Reference | pradylang.vercel.app/docs/tooling/cli-reference |
| ▶ Playground | pradylang.vercel.app/play |
🔗 Links
| 🌐 Official Website | https://pradylang.vercel.app |
| 🐙 Compiler Repo | https://github.com/technopradyumn/prady |
| 🔌 Extension Repo | https://github.com/technopradyumn/vscode-prady |
| 🐛 Report a Bug | https://github.com/technopradyumn/vscode-prady/issues |
| 📦 Releases | https://github.com/technopradyumn/vscode-prady/releases |
📄 License
Licensed under MIT OR Apache-2.0. See LICENSE for details.