mathworks / MATLAB-extension-for-vscode

This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more.
https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab
MIT License
215 stars 13 forks source link

Ctrl + C without selection to copy entire line doesn't work for MATLAB files. #130

Open SimiliaSimilibusSolvuntur opened 2 months ago

SimiliaSimilibusSolvuntur commented 2 months ago

Describe the bug Pressing ctrl + c without selecting any code usually does allow you to copy the line your cursor is in. This is not working for MATLAB files but for Python and R I don't have any issues.

To Reproduce Steps to reproduce the behavior:

  1. Go to MATLAB file.
  2. Place cursor without selecting anything
  3. Press ctrl + c
  4. Press ctrl + v nothing was copied.

Expected behavior Should copy the entire line.

Useful Information

philipb314 commented 2 months ago

Thank you for reporting this issue. This is something I can reproduce and is something that we will be working on resolving in a coming release.

As a workaround in the meantime, you can change or remove the keyboard shortcut for the "MATLAB: Interrupt" command.

jankap commented 1 month ago

Thx for the workaround.