Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>rbs-inline SyntaxNew to Visual Studio Code? Get it now.
rbs-inline Syntax

rbs-inline Syntax

bottrall

|
2 installs
| (0) | Free
Highlights rbs-inline `# @rbs` and `# @dynamic` annotations in Ruby comments.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

rbs-inline Syntax

Highlights rbs-inline doc-style annotations inside Ruby comments:

# @rbs name: String -- shown in the banner
# @rbs *args: Integer
# @rbs &block: (Runtime) -> void
# @rbs @mutex: Thread::Mutex
# @rbs return: Hash[Symbol, untyped]
# @rbs module-self Riffer::Rig::Runtime
# @dynamic url, chain, sdk

The type tokens use the same scopes as the Ruby LSP extension's #: signature highlighting, so both styles look alike. It's an injection grammar that only adds scopes, so it works alongside Ruby LSP.

Install

Install rbs-inline Syntax from the Visual Studio Marketplace, either from the Extensions view or with:

code --install-extension bottrall.rbs-inline-syntax

Each GitHub release also has the .vsix attached, for installing by hand:

gh release download --repo bottrall/rbs-inline-syntax --pattern '*.vsix' --clobber
code --install-extension rbs-inline-syntax-*.vsix

Test

pnpm install
pnpm test
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft