0

D Programming Language Syntax Highlighting Bugs

Alex Rønne Petersen 12 ár síðan Uppfært 12 ár síðan 4
This is a list of bugs/oddities with the D syntax highlighting.
  • assert is not highlighted as an expression like cast.
  • package is not highlighted as a visbility modifier like public, protected, etc.
  • @disable, @property, @safe, @trusted, and @system are not highlighted (declaration attributes).
  • __traits is not highlighted (expression).
  • __gshared is not highlighted (storage modifier).
  • ref is not highlighted (parameter modifier).
  • shared and immutable are not highlighted (type modifiers like const).
  • The string, wstring, and dstring types are not highlighted.
  • opBinary and opBinaryRight are not highlighted as operator overloads.
  • __vector is not highlighted (type modifier).
  • __simd is not highlighted (expression).
  • __ctfe is not highlighted (expression).
  • module is not always highlighted as a keyword.
  • pure is not highlighted (function modifier).
  • nothrow is not highlighted (function modifier).
  • The new lambda operator => is not highlighted correctly.
  • core.* modules should be highlighted the same as std.* modules.