Skip to content

Property Access Lists break syntax highlighting #92

@albheim

Description

@albheim

Describe the bug
Upon upgrading to v1.2.5 of the matlab extension the syntax highlighting seems to break on ?ClassName in a property access list like

classdef Test
    properties (Access = public)
        A = 3
    end
    properties (Access = ?Test2) % This becomes white and following blocks are also different compared to if I set e.g. public.
        B = 3
    end
    properties (Access = public)
        C = 3
    end
end

To Reproduce

  1. Install v1.2.5
  2. Paste above code in a file

Expected behavior
Correct highlighting, i.e. the one that is there if we use public instead of ?Test2 in above example.

Screenshots
image

Useful Information

  • OS Version: Windows 10
  • VS Code Version: v1.90.1

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions