ruby/lib/irb/cmd
tomoya ishida e344010465 [ruby/irb] Type based completion using Prism and RBS
(https://github.com/ruby/irb/pull/708)

* Add completor using prism and rbs

* Add TypeCompletion test

* Switchable completors: RegexpCompletor and TypeCompletion::Completor

* Add completion info to irb_info

* Complete reserved words

* Fix [*] (*) {**} and prism's change of KeywordParameterNode

* Fix require, frozen_string_literal

* Drop prism<=0.16.0 support

* Add Completor.last_completion_error for debug report

* Retrieve `self` and `Module.nesting` in more safe way

* Support BasicObject

* Handle lvar and ivar get exception correctly

* Skip ivar reference test of non-self object in ruby < 3.2

* BaseScope to RootScope, move method objects constant under Methods

* Remove unused Splat struct

* Drop deeply nested array/hash type calculation from actual object. Now, calculation depth is 1

* Refactor loading rbs in test, change preload_in_thread not to cache Thread object

* Use new option added in prism 0.17.1 to parse code with localvars

* Add Prism version check and warn when :type completor cannot be enabled

* build_type_completor should skip truffleruby (because endless method definition is not supported)

1048c7ed7a
2023-11-08 02:46:33 +00:00
..
backtrace.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
break.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
catch.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
chws.rb [ruby/irb] Add workspace category 2023-08-01 12:51:30 +00:00
continue.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
debug.rb [ruby/irb] Support seamless integration with ruby/debug 2023-08-13 18:30:34 +00:00
delete.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
edit.rb [ruby/irb] Support VISUAL env var, and prefer it over EDITOR 2023-08-20 17:22:01 +00:00
finish.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
help.rb [ruby/irb] Print deprecation warning for help command 2023-05-18 03:28:31 +00:00
info.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
irb_info.rb [ruby/irb] Type based completion using Prism and RBS 2023-11-08 02:46:33 +00:00
load.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00
ls.rb [ruby/irb] Page ls's output (https://github.com/ruby/irb/pull/657) 2023-07-26 08:32:02 +00:00
measure.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
next.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
nop.rb [ruby/irb] Refactor ExtendCommand::Nop 2023-06-05 19:12:16 +00:00
pushws.rb [ruby/irb] Add workspace category 2023-08-01 12:51:30 +00:00
show_cmds.rb [ruby/irb] Improve help/show_cmds message during debugger 2023-08-29 18:36:16 +00:00
show_doc.rb [ruby/irb] Print deprecation warning for help command 2023-05-18 03:28:31 +00:00
show_source.rb [ruby/irb] Page show_source's output 2023-09-22 13:00:32 +00:00
step.rb [ruby/irb] Fix step command (https://github.com/ruby/irb/pull/477) 2022-12-09 23:39:17 +00:00
subirb.rb [ruby/irb] Support seamless integration with ruby/debug 2023-08-13 18:30:34 +00:00
whereami.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00