ruby-changes:70588
From: aycabta <ko1@a...>
Date: Sat, 25 Dec 2021 22:08:20 +0900 (JST)
Subject: [ruby-changes:70588] 3079bffb8d (ruby_3_1): Add IRB Improvements section to NEWS.md
https://git.ruby-lang.org/ruby.git/commit/?id=3079bffb8d From 3079bffb8db6e637b7025cedf19d44a00727543c Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Sat, 25 Dec 2021 17:05:39 +0900 Subject: Add IRB Improvements section to NEWS.md (cherry picked from commit dba24e6a1ae0d7dba313bb5f65a4be927bd6f236) --- NEWS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NEWS.md b/NEWS.md index 25378824759..3f07e5a90a3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -567,6 +567,12 @@ This feature is enabled by default. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L567 You can disable it by using a command-line option `--disable-error_highlight`. See [the repository](https://github.com/ruby/error_highlight) in detail. +## IRB Autocomplete and Document Display + +The IRB now has an autocomplete feature, where you can just type in the code, and the completion candidates dialog will appear. You can use Tab and Shift+Tab to move up and down. + +If documents are installed when you select a completion candidate, the documentation dialog will appear next to the completion candidates dialog, showing part of the content. You can read the full document by pressing Alt+d. + ## Miscellaneous changes * lib/objspace/trace.rb is added, which is a tool for tracing the object -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/