From: "schneems (Richard Schneeman)" Date: 2022-06-16T17:38:44+00:00 Subject: [ruby-core:108965] [Ruby master Feature#18159] Integrate functionality of dead_end gem into Ruby Issue #18159 has been updated by schneems (Richard Schneeman). Thank you everyone for your help so far. This is very exciting! > like renaming I did some brainstorming. I think having the word "syntax" in the name will help people remember or find it. Originally I scoped this to keywords `do` and `end` and `def` but over time it also proves good at finding other things like missing pairs `()`, `{}`, `[]` so the word "syntax" is more general. Here are some ideas for names that use `syntax`: - did_you_syntax - syntax_explain - what_syntax - syntax_unroll - syntax_clippy - syntax_suggest - syntax_guide - syntax_shepherd - syntax_fix I think `syntax_suggest` maps well because it suggests areas that might be causing problems. In the same way `did_you_mean` is not called "method finder" etc. it is merely a suggestion. I am curious for your feedback and opinions on the name. We do still mention the name of the gem in the environment variable when a search times out `Search timed out DEAD_END_TIMEOUT=#{timeout}...`. Once we decide on a name we can update the internals. > separating dead_end command from the gem, etc. Previously we talked about not shipping the gem CLI with Ruby. The CLI is used in two places: for the vscode extension and for my debugging. I think both situations are edge cases for now. The extension has a few hundred downloads. I removed any CLI reference from the gem's output already. Is it okay if you don't get the cli with the default gem, but it's available via `gem install ` ? ---------------------------------------- Feature #18159: Integrate functionality of dead_end gem into Ruby https://bugs.ruby-lang.org/issues/18159#change-98066 * Author: duerst (Martin D��rst) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: 3.2 ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ Unsubscribe: