Skip to content

Releases: Alhadis/Regex-Comments

v2.0.0

20 Oct 13:02
v2.0.0
Compare
Choose a tag to compare

"Probable" comment-matching replaced with actual comment highlighting.

Added:

  • Proper highlighting for #-prefixed comments, but only inside strings that start with an extended expression flag: (?x)

Removed:

  • Unused metadata from grammar source. This hides it from Atom's grammar selection menu. Refer to atom/grammar-selector#34 for more info.

  • Anything related to comment-ish scope. It was a clumsy hack.

v1.1.2

15 Oct 15:14
v1.1.2
Compare
Choose a tag to compare

Minor improvements made to "probable" comment matching:

  • Comments can now be matched at the start of a line without whitespace
  • Pointless lookahead removed to enable matching of lines containing ]

v1.1.1

03 Sep 10:14
v1.1.1
Compare
Choose a tag to compare

Fixed bug where "probable" comments weren't terminated before backticks, ruining subsequent highlighting if a closing backtick was expected:

const text = `String # ${num}`;
const whoops = "This wouldn't have looked too good";

v1.1.0

04 Jun 18:07
v1.1.0
Compare
Choose a tag to compare

Added snippets to insert directional quotes in "probable" comments:

  • dq: “”
  • sq: ‘’
  • apos: ’

See the relevant readme section.

v1.0.0

04 Jun 17:54
v1.0.0
Compare
Choose a tag to compare

Initial release. Adds highlighting support for Oniguruma-regex comments.