From: shevegen@... Date: 2017-04-01T09:00:20+00:00 Subject: [ruby-core:80521] [Ruby trunk Feature#13393] New comment syntax Issue #13393 has been updated by shevegen (Robert A. Heiler). I like colours. Even on first april so I have to take it almost literally as a real proposal. (Actually after waking up, I forgot which day it was; the Assignee set here helped me understand the proposal. :D ) It's one of the few things I like about cmake - while autoconf makes it more convenient for people to adapt their project via readable commandline-switches (as opposed to cmake -D something such as -DCMAKE_INSTALL_PREFIX= versus configure --prefix= ), the default colours used by cmake are IMO quite nice. ---------------------------------------- Feature #13393: New comment syntax https://bugs.ruby-lang.org/issues/13393#change-64023 * 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: