Project

General

Profile

Actions

Feature #18159

closed

Integrate functionality of syntax_suggest gem into Ruby

Added by duerst (Martin Dürst) over 2 years ago. Updated over 1 year ago.

Status:
Closed
Target version:
[ruby-core:105191]

Description

Missing 'end' errors are difficult to fix. We should integrate the functionality of the dead_end gem (https://github.com/zombocom/dead_end) into Ruby similar to how we integrated did_you_mean. It would greatly help programming Ruby, in particular for beginners.

See also Ruby Kaigi Takeout 2021 talk by Richard Schneeman https://rubykaigi.org/2021-takeout/presentations/schneems.html.


Related issues 2 (0 open2 closed)

Related to Ruby master - Feature #14244: Better error messages for scripts with non-matching end statementsClosedmame (Yusuke Endoh)Actions
Related to Ruby master - Feature #18231: `RubyVM.keep_script_lines`Closedko1 (Koichi Sasada)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0