mathworks / mathworks/MATLAB-extension-for-vscode

Code auto-completion not working

Open
#217 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
435
Forks
40
PR merge metrics
No merged PRs in 30d

Description

When using the Matlab VS code extension in Linux, code auto-completion does not work. No hints appear when starting to write the name of a function and when enforcing auto-completion with the keyboard shortcut ctrl+space, a small message "Loading..." appears next to the cursor, but nothing happens.
Matlab is installed and the path is properly set. I can run code and plot figures.

To Reproduce

  1. Write any code in a .m file. Check if any suggested completions pop-up automatically.

Expected behavior
Suggestions for code completions should appear when writing, for example names of functions.

Useful Information

  • OS Version: Linux Ubuntu 20.04
  • VS Code Version: 1.96.4

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.

Research direction

Start by reproducing the issue on Linux Ubuntu 20.04 with VS Code 1.96.4, the MATLAB extension, and a .m file. Check completion after typing a function name and after pressing Ctrl+Space; done means MATLAB function suggestions appear in both cases instead of remaining at “Loading...”.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.