Skip to content

Conversation

@fansenze
Copy link
Contributor

@fansenze fansenze commented Jan 22, 2026

Summary

This PR introduces a TypeChecker lazy loading API for rslint and integrates real-time type information display in the Playground.

Changes:

  • Go Backend (internal/api/)
    • Add typechecker.go: Implements TypeChecker struct with on-demand querying for node Type, Symbol, Signature, and FlowNode information
    • Extend IPC protocol with 5 new checker-related message kinds (checker.getNodeType, checker.getNodeSymbol, checker.getNodeSignature, checker.getNodeFlowNode, checker.getNodeInfo)
    • Support recursive collection of related types and symbols with cycle detection
  • JS/TS SDK (packages/rslint/)
    • Add checker-types.ts: Define TypeScript interfaces for TypeDetails, SymbolDetails, SignatureDetails, FlowNodeDetails, etc.
    • Add remote-typechecker.ts: Implement RemoteTypeChecker class that proxies calls to Go backend via IPC
  • Website Playground (website/)
    • Add NodeDetailPanel: Display detailed type information for selected AST nodes
    • Add ObjectTree: Tree view component for visualizing complex object structures
    • Add EditorTabs and JsonEditor: Support multi-tab editor with config editing
    • Add resizable component: Draggable panel resizing
    • Integrate TypeChecker: Fetch and display type information when clicking AST nodes

Snapshot:
image

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link

netlify bot commented Jan 22, 2026

Deploy Preview for rslint ready!

Name Link
🔨 Latest commit 5741772
🔍 Latest deploy log https://app.netlify.com/projects/rslint/deploys/6971ebbf56185e0008a8caf6
😎 Deploy Preview https://deploy-preview-440--rslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@cloudflare-workers-and-pages
Copy link

Deploying rslint with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5741772
Status:🚫  Build failed.

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants