Skip to content

Ciebiada/vscode-ruby-copy-reference

Repository files navigation

Ruby Copy Reference

Minimalistic extension inspired by RubyMine. It lets you copy the whole path to the class/constant/method in Ruby

For instance:

module Foo
  class Bar < Baz
    class Bebop
      SPIKE = 'spike'
    end
  end
end

Executing copyReference with the cursor at Bebop will put Foo::Bar::Bebop into the system clipboard. If cursor is at SPIKE it will copy Foo::bar::Bebop::SPIKE

This extension contributes the following commands:

  • ruby.copyReference: copies reference to the element under cursor

Default keybinding is: cmd+shift+alt+c

Enjoy!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published