Function handle accessor not colored after 4 whitespaces, cannot be separated from anonymous function in case of line continuations
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start at Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage around line 2491 and inspect the function-handle accessor pattern. Reproduce the issue with the linked examples, then verify that arbitrary spaces are highlighted while newlines remain disallowed and line continuations are not mistaken for anonymous functions.
Written by the indexing model from the issue text.
Description
There can be an arbitrary number of whitespaces after the function handle.
But in the tmLanguage there is a limit on 4 whitespace characters. Also \s includes newlines, which is not allowed.
- Dominant language
- MATLAB
- Stars
- 64
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mathworks/MATLAB-Language-grammar
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mathworks/MATLAB-Language-grammar#99 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
mathworks/MATLAB-Language-grammar#97 · 1 comment ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in mathworks/MATLAB-Language-grammar
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mathworks/MATLAB-extension-for-vscode#354 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
catalystneuro/zarr-matlab#29 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
priority : medium QoL
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
ontologyTableRowDoc2Table errors on ontologyTableRow documents without a document_id dependencyOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
VH-Lab/NDI-matlab#1016 · 1 comment ·
Maintainers usually reply within 1 day