Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Copy Ruby ReferenceNew to Visual Studio Code? Get it now.
Copy Ruby Reference

Copy Ruby Reference

Matan Zruya

|
277 installs
| (0) | Free
A simple VSCode extension that parses the Ruby AST and allows you to right click on a constant definition and copy a reference to it.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy ruby reference

A simple VSCode extension that allows you to right click on a constant definition and copy a reference to it. Unlike similar extensions, this does not use regular expressions and instead walks the Ruby AST, producing much more accurate results.

How to use?

Place your caret on the desired constant definition, Then using the right click context menu select the "Ruby: copy reference" command. The fully qualified name of the constant will be copied to your clipboard.

output

How to install?

Go here and click "Install".

How to build?

  1. Set up a rust development environment:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Clone the repo:
> git clone https://github.com/mzruya/vscode-copy-ruby-reference.git
  1. Build and package an extension for a target architecture: (valid options are: darwin-arm64, darwin-x64, linux-x64, win32-x64)
> cd vscode-copy-ruby-reference/vscode-extension
> npm run build-and-package-darwin-arm64
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft