mathworks / mathworks/MATLAB-extension-for-vscode
Expand selection is not working as expected on m files
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 435
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
In other language source files, when we select one line and expand selection, if that selected line is inside of a closure or if-clause, the closure or if-clause will firstly be selected, but in .m files, when we expand selection on one line, the whole file will be selected.
Is this feature a part of vs code or we can fix it in this extension?
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 Expand Selection on a line inside a closure or if-clause in a .m file, then compare the behavior with another language source file in VS Code. Inspect the extension and VS Code selection behavior to determine ownership; done means the responsible component is identified and MATLAB selection expands hierarchically rather than selecting the whole file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matlab, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100