Selecting quick fixes does not cause linting errors to go away automatically unless connected to MATLAB

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by tracing the quick-fix handling for the MATLAB function-name and .m-file mismatch, focusing on how diagnostics are refreshed when MATLAB is not connected. Done means applying the quick fix immediately removes the diagnostic and prevents the same fix from being selected repeatedly without manually saving the file.

Written by the indexing model from the issue text.

Description

enhancement

Is your feature request related to a problem? Please describe.
When selecting the quick fix to resolve a mismatch between the name of my custom MATLAB and the .m file that it is written in, the linting error for the function name does not get resolved unless I manually save the file (when MATLAB is not connected).

Without manually saving the .m file, the extension allows me to select the same quick fix multiple times which can lead to unexpected behavior.

Describe the solution you'd like
The diagnostic message should disappear when the quick fix is applied.

Dominant language
TypeScript
Stars
125
Forks
21
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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.

More from mathworks/MATLAB-language-server

All issues in mathworks/MATLAB-language-server

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.