Skip to content

Releases: jeff-hykin/better-cpp-syntax

1.13.0

08 Aug 23:48
259a852
Compare
Choose a tag to compare
  • fix for performance/crashing issues #343
  • complete re-write of the preprocessor, should see improved handling of preprocessor conditionals and macros

v1.12.18

07 Jul 07:26
Compare
Choose a tag to compare

v1.12.15

Fixes:

  • performance issue with function definitions: #257, #282
    Changes:
  • The explicit source.cpp has been removed. #285

v1.12.17

Fixes:

  • start of statement detection

v1.12.18

Fixes:

  • explicit constexpr constructors #268
  • short/long in paramaters #275

v1.12.6

27 Jun 19:11
Compare
Choose a tag to compare

v1.12.2

Fixes:

  • #256 noexcept(noexcept(/snip/)) breaks highlighting for the rest of the file
  • #260 performance issue with comments

v1.12.3

Fixes:

  • #261 constructor detection breaks highlighting for the rest of the file

v1.12.4

Fixes:

  • #259 nested template type used as parameter type breaks highlighting for the rest of the file

Changes:

  • user defined types in template calls have had their scope changed from storage.type.user-defined to entity.name.type

v1.12.5

Adds:

  • support for goto statements and labels
    Changes:
  • comment banner pattern is now more generic

v1.12.6

Fixes:

  • #264 indexing a string literal would break syntax highlighting until the next {
  • #265 in C struct members could not start with the name of a built-in type

v1.12.1 Functions, Parameters, and Operator Overloads

25 Jun 02:37
Compare
Choose a tag to compare

Major updates to

  • Constructors
  • Destructors
  • Operator overloads
  • Function Parameters
  • Function return types
  • Function pointers
  • added support for predefined macros
  • added support for __cdecl and similar calling conventions
  • added support for custom literal definitions

Fixed

  • #254
  • #250
  • #249
  • #247 static assert inside of class/struct
  • #243 comments in namespace
  • #242 function definitions as function call
  • #239 attributes in front of functions
  • #238 s in sizeof
  • #235 slowdown from many spaces
  • #231 issue with operator keyword
  • #230 struct not working in type cast
  • #229 added recommended color themes
  • #228 issue with function pointers
  • #200 nameless parameter tagging
  • #168 scoped enums
  • #121 class inheritance
  • #80 replace legacy function calls
  • #16 custom literal defintions

v1.11.15

10 Jun 19:54
Compare
Choose a tag to compare

Fixes:

  • performance issue when using a macro with many whitespace character #235
  • unnamed multi-word parameter types being tagged as a parameter #200 (partial fix)
  • the spelling of some textmate scopes:
    • specificer => specifier
    • inhertance => inheritance

v1.11.3

30 May 17:22
Compare
Choose a tag to compare

Fixes:

  • encoded character literals inside of function calls. #216

v1.11.2

30 May 17:21
Compare
Choose a tag to compare

Fixes:

  • performance regression with spaces in function definition introduced in v1.9.4 #218

v1.11.1

30 May 17:20
Compare
Choose a tag to compare

Fixes:

  • parentheses in align as being tagged as an attribute. #215

Other:

  • source.cpp is now persistent. Even when c++ is embedded in markdown source.cpp continues to be a valid scope

v1.11.0

30 May 17:16
Compare
Choose a tag to compare

Adds:

  • initial support for predefined macros in root context #210
  • initial support for di/trigraphs.

Fixes:

  • namespaces in c++ attributes are tagged as such.

Other:

  • scopes colon.objcpp and comma.objcpp were removed.

v1.10.0

30 May 17:12
Compare
Choose a tag to compare

Adds:

  • initial support for a separate Objective-C and Objective-C++ grammar