Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Ruby on MicroNew to Visual Studio Code? Get it now.
Ruby on Micro

Ruby on Micro

Nguyen Xuan Nghiem

|
2 installs
| (0) | Free
Ctrl/Cmd-click configured Ruby references to open their implementation.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ruby on Micro

Ctrl/Cmd-click a Ruby use-case reference such as:

use_case('use_cases.orders.create').execute(payload)

The extension opens:

app/use_cases/orders/create.rb

The same works for blueprints and steps imported through a Ruby configuration import:

include Config::Import['blueprints.invoice_blueprint']

include Config::Import[
  publish_created: 'steps.orders.publish_created'
]

These open app/blueprints/invoice_blueprint.rb and app/steps/orders/publish_created.rb respectively.

Ruby constants are also supported. Ctrl/Cmd-clicking:

Constants::ErrorCodes::AUTH_SIGNATURE_INVALID

opens config/constants/error_codes.rb and jumps to the line where AUTH_SIGNATURE_INVALID is defined, including constants declared with define :AUTH_SIGNATURE_INVALID, ....

Run locally

  1. Open this directory in VS Code.
  2. Run npm install.
  3. Run npm run compile.
  4. Press F5 to launch an Extension Development Host.
  5. Open the Ruby project you want to work on in that new window.
  6. Open a Ruby file containing a configured reference.
  7. Ctrl/Cmd-click the reference.

Configure rubyOnMicro.referenceRoots when a repository stores its implementation directories somewhere other than app. Configure rubyOnMicro.constantRoots when constant files are stored somewhere other than config/constants.

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