Skip to content

Highlight SQL in Ruby #2

@daveroberts

Description

@daveroberts

Great plugin! Would be nice if it could also highlight SQL in Ruby strings. Ruby can't do inline comments, so it would need to support something like the following:

# /*sql*/
SQL = %{
  SELECT user, name
  FROM users
  WHERE users.id = #{"some_variable"}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions