From: sto.mar@... Date: 2017-04-01T10:54:30+00:00 Subject: [ruby-core:80524] [Ruby trunk Feature#13393] New comment syntax Issue #13393 has been updated by stomar (Marcus Stollsteimer). I'd like to see colors allowed in method names. In the long run, all "bang methods" could be replaced by "red methods", to even better visually signal their dangerousness. But I guess this would probably go beyond the scope of this feature request, so I will prepare a separate ticket... ---------------------------------------- Feature #13393: New comment syntax https://bugs.ruby-lang.org/issues/13393#change-64027 * Author: nobu (Nobuyoshi Nakada) * Status: Open * Priority: Normal * Assignee: joke * Target version: ---------------------------------------- Now ruby has 2 comment syntax, `#...` and `=begin`..`=end`, but they are line-oriented both. This is a proposal of a new, very visible, inline comment syntax. Turning on highlight mode (i.e., `\e[1m`) starts a comment and turning off (i.e., `\e[m`) ends it. This visualizes comments very much. https://github.com/nobu/ruby/tree/feature/highlight-comment ---Files-------------------------------- comment-ng.png (63.2 KB) comment-ok.png (24.6 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: