mathworks / mathworks/MATLAB-extension-for-vscode
Provide auto-coding of `end` keywords
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 435
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
When writing a function, loop, or an if-statement, the end keyword for the closing of the block should be automatically inserted, similar to in the MATLAB Editor.
Describe the solution you'd like
The end keyword should be automatically inserted. For example:
- Type
if true
if true% <-- cursor is here
- Press enter
if true
% <-- cursor is here
end
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
No file, test, or entry point is named in the issue. Start by locating the extension's handling of MATLAB editing and indentation, then determine how the requested Enter-key behavior should work for block-opening statements; done means matching the shown insertion of an indented line and its closing end keyword.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matlab, typescript, vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100