mathworks / mathworks/MATLAB-extension-for-vscode

Auto-completion inserts extra single quote after parentheses

Open
#182 1 comment 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

Describe the bug
When you press single quote after a right parenthesis for matrix transpose, two single quotation marks are automatically inserted instead of one.

To Reproduce
Steps to reproduce the behavior:

  1. Type zeros(1)
  2. Hit the single quote key

Expected behavior
One single quotation mark should be inserted representing matrix transpose.

Useful Information

  • VS Code Version:
    Version: 1.92.1 (system setup)
    Commit: eaa41d57266683296de7d118f574d0c2652e1fc4
    Date: 2024-08-07T20:16:39.455Z
    Electron: 30.1.2
    ElectronBuildId: 9870757
    Chromium: 124.0.6367.243
    Node.js: 20.14.0
    V8: 12.4.254.20-electron.0
    OS: Windows_NT x64 10.0.22631

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

Reproduce the issue in VS Code using the MATLAB extension with zeros(1) followed by a single quote. Trace the auto-completion behavior responsible for the extra quote, then verify that only one quote is inserted for matrix transpose.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab, typescript, vscode
Domain
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.