본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

rust-analyzer-lsp

bowen31337 제작

Coding Agents & IDEs
910clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Rust language server (rust-analyzer) providing code intelligence and analysis for .rs files.

설명

이 스킬이 하는 일

rust-analyzer is a language server for Rust that provides code intelligence through the Language Server Protocol. It offers autocomplete, go-to-definition, find references, real-time diagnostics, and refactoring in any LSP-compatible editor. It replaced the older Rust Language Server (RLS) and is now the officially maintained option.

It is the officially maintained Rust language server with faster indexing and more accurate analysis than its predecessor RLS.

사용 시점

  • Navigating a large Rust codebase with go-to-definition
  • Catching type and borrow checker errors before running cargo build
  • Renaming a struct or function across an entire project
  • Expanding macros to inspect generated Rust code

예시 워크플로

입력

User asks: rename the `UserConfig` struct to `AppConfig` throughout the project

에이전트
  1. 1

    rust-analyzer indexes the workspace and resolves all references to UserConfig

  2. 2

    Initiates a rename refactor targeting the struct definition and all usage sites

  3. 3

    Updates every .rs file containing a reference to the symbol

  4. 4

    Reports the number of locations changed

출력

All occurrences of `UserConfig` renamed to `AppConfig` consistently across the codebase

요구 사항

  • rust-analyzer binary installed via `rustup component add rust-analyzer`, Homebrew, or system package manager

설치

clawhub install bowen31337/rust-analyzer-lsp

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크