mathworks / mathworks/MATLAB-Language-grammar

syntax highlighting bug

Open
#65 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
MATLAB
Stars
64
Forks
22
PR merge metrics
No merged PRs in 30d

Description

The following (I agree strange) code example, does not look like it is highlighted properly in VS Code with the MATLAB plugin. The Editor in MATLAB does show the highlighting correctly:

a = struct("Bla"', "bla"');

edit: adding more version details:
VS Code 1.78.1 on Windows 10 22H2
Extension version: v1.0.2
Configured MATLAB in the Extension settings: R2023a Update 1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing a = struct("Bla"', "bla"'); in VS Code 1.78.1 on Windows 10 with the MATLAB extension v1.0.2 and compare its highlighting with MATLAB R2023a. Then inspect the MATLAB grammar in this repository; done means the snippet is highlighted consistently with the MATLAB editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.