[#109095] [Ruby master Misc#18888] Migrate ruby-lang.org mail services to Google Domains and Google Workspace — "shugo (Shugo Maeda)" <noreply@...>
Issue #18888 has been reported by shugo (Shugo Maeda).
16 messages
2022/06/30
[ruby-core:108965] [Ruby master Feature#18159] Integrate functionality of dead_end gem into Ruby
From:
"schneems (Richard Schneeman)" <noreply@...>
Date:
2022-06-16 17:38:44 UTC
List:
ruby-core #108965
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 <name tbd>` ?
----------------------------------------
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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>