Project

General

Profile

Actions

Feature #13393

closed

New comment syntax

Added by nobu (Nobuyoshi Nakada) about 7 years ago. Updated about 7 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:80518]

Description

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-ng.png current version nobu (Nobuyoshi Nakada), 04/01/2017 07:09 AM
comment-ok.png (24.6 KB) comment-ok.png proposed version nobu (Nobuyoshi Nakada), 04/01/2017 07:10 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0