Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow alt+click / option+click in the MATLAB terminal to navigate #207

Open
BizarrePenguin opened this issue Jan 23, 2025 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@BizarrePenguin
Copy link

In other terminals like bash it is normal that one can alt+click (option+click on Mac) to navigate around in the current terminal line.

At least for me this is not possible with the MATLAB terminal in VS Code.
This makes interactive sessions a lot harder as navigating is limited to left and right arrows, one character at a time.

On a related note, common commands such as strg+a / control+a and strg+e / control+e to jump to the beginning or end of the line in the terminal are also not available.

Is this behaviour reproducible for others?
Is this maybe even a bug?

@BizarrePenguin BizarrePenguin added the enhancement New feature or request label Jan 23, 2025
@BizarrePenguin
Copy link
Author

I just noticed, that when I open a different shell in VS Code, like zsh, then execute
matlab -nodesktop -nosplash
and continue from there, I do get the ability to navigate via alt+click / option+click.
Just an interesting observation.

@BizarrePenguin
Copy link
Author

Nevermind, it seems more like a bug now. I noticed that the MATLAB terminal is mostly not working at all. Turning a different shell into a MATLAB one by executing "matlab -nodesktop -nosplash" works fine and then I have none of the problems mentioned above.

I can't reliable reproduce it and give useful diagnostic info, so I am gonna close this issue for now.

@philipb314
Copy link
Member

Reopening this issue as I can confirm that this functionality is not available in the MATLAB Terminal and this feature is something we would like to consider adding to the MATLAB terminal in a future release.

Running MATLAB directly in a different shell is unrelated to the MATLAB terminal or this extension as it has none of the integrations with VS Code present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants