mathworks / mathworks/MATLAB-extension-for-vscode
Using `[\b – ]\b` couple in `fprintf()`
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 435
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
When using [\b – ]\b couple in fprintf() in VSCode there are 2 issues compared to the standard MATLAB command window:
- output has a trailing
] - output is not colored
Example
fprintf('[\btest]\b\n')
Output in VSCode:
Output in MATLAB:
Contributor guide
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.
Research direction
Start by reproducing the MATLAB fprintf example in VS Code and comparing its output with the MATLAB command window. Then trace the extension's handling of fprintf output, backspaces, brackets, and terminal coloring. Done means the VS Code output matches MATLAB without the trailing bracket and preserves the expected coloring.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100