aboutsummaryrefslogtreecommitdiffstats
path: root/yjit/src/cruby_bindings.inc.rs
diff options
context:
space:
mode:
authorima1zumi <52617472+ima1zumi@users.noreply.github.com>2023-11-21 09:04:36 +0900
committergit <svn-admin@ruby-lang.org>2023-11-21 00:04:41 +0000
commit7164715666cfbffd5540ee374eee2a5568342d2d (patch)
tree884e83c437c330c53fc4790e32b112a2175568a5 /yjit/src/cruby_bindings.inc.rs
parenta182b2c5e1dbdbe8960912f8bac076d997a74e65 (diff)
downloadruby-7164715666cfbffd5540ee374eee2a5568342d2d.tar.gz
[ruby/irb] Enable Setting Completer Type through `IRB_COMPLETOR`
(https://github.com/ruby/irb/pull/771) I propose introducing the capability to set the IRB completion kinds via an environment variable, specifically `IRB_COMPLETOR=type`. This feature aims to enhance the Rails console experience by allowing Rails users to specify their preferred completion more conveniently. Currently, when using the Rails console, there's no straightforward way to globally set the type completion across a Rails application repository. It's possible to configure this setting by placing a `.irbrc` file at the project root. However, using a .irbrc file is not ideal as it allows for broad configurations and can potentially affect the production environment. My suggestion focuses on allowing users to set the completion to 'type' in a minimal. This enhancement would be particularly beneficial for teams writing RBS in their Rails applications. This type completer, integrated with RBS, would enhance completion accuracy, improving the Rails console experience. https://github.com/ruby/irb/commit/032f6da25f
Diffstat (limited to 'yjit/src/cruby_bindings.inc.rs')
0 files changed, 0 insertions, 0 deletions