Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable completion setting through IRB_COMPLETOR #771

Merged
merged 1 commit into from
Nov 21, 2023

Commits on Nov 20, 2023

  1. Enable Setting Completer Type through IRB_COMPLETOR

    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.
    ima1zumi committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    65c932c View commit details
    Browse the repository at this point in the history