npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ruchy

v1.2.1

Published

Comprehensive language support for the Ruchy programming language

Downloads

17

Readme

Ruchy Language Support for VS Code

Comprehensive language support for the Ruchy programming language in Visual Studio Code.

Features

Syntax Highlighting

  • Complete grammar support with TextMate-based syntax highlighting
  • Ruchy-specific constructs: actors, pipeline operators, message passing
  • Semantic highlighting for improved code readability
  • Custom theme optimized for Ruchy code

Language Features

  • IntelliSense with auto-completion for keywords, types, and functions
  • Error diagnostics and syntax validation
  • Go-to-definition for functions, types, and modules
  • Hover information for language constructs
  • Code snippets for common patterns

Ruchy-Specific Support

  • Actor model: actor, spawn, send keywords
  • Pipeline operators: >> for functional composition
  • Message passing: <- (send) and <? (ask) operators
  • Pattern matching and advanced control flow

Code Intelligence

  • Language Server Protocol (LSP) integration
  • Real-time diagnostics and error checking
  • Code formatting and organization
  • Symbol navigation and workspace search

Quick Start

  1. Install the extension from VS Code Marketplace
  2. Open a Ruchy file (.rhy or .ruchy)
  3. Start coding with full language support!

Example Ruchy Code

// Define an actor for message processing
actor MessageProcessor {
    state: Vec<String>,

    fn new() -> Self {
        Self { state: Vec::new() }
    }

    fn handle(&mut self, message: String) -> String {
        self.state.push(message.clone());
        
        // Use pipeline operator for functional composition
        message 
            >> |s| s.to_uppercase()
            >> |s| format!("Processed: {}", s)
    }
}

fn main() {
    // Spawn an actor
    let processor = spawn(MessageProcessor::new());
    
    // Send messages using actor operators
    processor <- "hello".to_string();
    let result = processor <? "world".to_string();
    
    println!("Result: {}", result);
}

Configuration

The extension can be configured through VS Code settings:

{
    "ruchy.lsp.enable": true,
    "ruchy.lsp.serverPath": "",
    "ruchy.formatting.enable": true,
    "ruchy.diagnostics.enable": true,
    "ruchy.completion.enable": true,
    "ruchy.highlighting.semanticTokens": true
}

Settings Details

  • ruchy.lsp.enable: Enable Language Server Protocol support
  • ruchy.lsp.serverPath: Custom path to Ruchy LSP server (auto-detected by default)
  • ruchy.formatting.enable: Enable automatic code formatting
  • ruchy.diagnostics.enable: Enable error checking and diagnostics
  • ruchy.completion.enable: Enable IntelliSense and auto-completion
  • ruchy.highlighting.semanticTokens: Enable semantic syntax highlighting

Commands

Access these commands via the Command Palette (Ctrl+Shift+P):

  • Ruchy: Restart Language Server: Restart the LSP server
  • Ruchy: Show Output Channel: View extension logs and diagnostics
  • Ruchy: Check Syntax: Manually check current file for syntax errors

Code Snippets

The extension includes comprehensive code snippets for common Ruchy patterns:

| Trigger | Description | |---------|-------------| | fn | Function definition | | actor | Actor definition with basic structure | | struct | Struct definition | | enum | Enum definition | | match | Match expression | | spawn | Spawn actor instance | | send | Send message to actor | | ask | Send message and wait for response | | pipe | Pipeline expression | | impl | Implementation block | | trait | Trait definition |

Language Server

This extension integrates with the Ruchy Language Server for advanced features:

Installation

The language server is automatically detected from:

  1. Extension bundle (if included)
  2. ruchy-syntax-tools npm package
  3. Global Ruchy installation

Manual Installation

# Via npm (recommended)
npm install -g ruchy-syntax-tools

# Via Rust cargo (if building from source)
cargo install ruchy

File Associations

The extension automatically activates for:

  • .rhy files
  • .ruchy files

Themes

Includes the Ruchy Dark theme optimized for Ruchy syntax highlighting with:

  • Enhanced colors for actor-specific keywords
  • Distinct highlighting for pipeline operators
  • Semantic colors for different language constructs

Requirements

  • VS Code 1.74.0 or higher
  • Node.js 16+ (for LSP server)
  • Ruchy Language installation (optional, for advanced features)

Extension Development

This extension is part of the ruchy-syntax-tools project.

Building from Source

git clone https://github.com/ruchy-lang/ruchy-syntax-tools.git
cd ruchy-syntax-tools/vscode-extension
npm install
npm run compile

Contributing

Contributions are welcome! Please see our Contributing Guide.

Issues and Support

License

MIT License. See LICENSE for details.

Changelog

1.2.0

  • Initial release
  • Complete syntax highlighting
  • LSP integration
  • Code snippets
  • Custom theme
  • Actor model support
  • Pipeline operators
  • IntelliSense features

Enjoy coding in Ruchy! 🚀