Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-68714

Syntax highlighting for Microsoft's Transact-SQL /* comment */ in code macro

XMLWordPrintable

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      {code:sql} in Jira recognizes -- comment but not /* comment */, which is supported by the Transact-SQL (T-SQL) language in Microsoft SQL Server. Please add syntax highlighting for that, too. It could be part of {code:sql} or have a distinct language identifier such as {code:mssql} or {code:t-sql}.

      SELECT
        number_of_protons /* comment */,
        relative_atomic_mass -- comment
      FROM elements;
      

      According to the Microsoft documentation for Slash Star (Block Comment) (Transact-SQL), comments of this type can nest.

              Unassigned Unassigned
              bce11fd9005e Kalle Niemitalo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: