This question already has an answer here:
Multi-cursor Editing possibility in MATLAB Editor?
(1 answer)
Closed 5 months ago.
Is there a way for selecting text in vertical in Matlab Text Editor?
What I mean is something equivalent to Alt+Shift in Atom text editor for example:
Even a hack is appreciated. What I do normally (when I need this functionality) is to open the same text-file with Atom. But, of course, to be able to modify inside the same Matlab can make me save time.
Starting from MATLAB version R2021b, not only the live editor, but also the editor allows column selection using the mouse while pressing the ALT-key (or the Option-key on MacOS).
A description of this feature can be found here:
https://www.mathworks.com/help/matlab/matlab_prog/edit-and-format-code.html
Related
This question already has answers here:
Is there a way to make vscode line number field smaller width?
(5 answers)
Closed 12 days ago.
My laptop has a small screen and I often use VS Code in half of the screen for multitasking, but I want more space in VS Code so that I can see more text on the screen, so I want to remove these spaces because I don't use breakpoints, and for me, it is a waste of space in the editor.
If is there any way to remove these spaces before lines?
Put the following in your settings.json file:
"editor.glyphMargin": false
The setting's description says:
Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.
This section of the UI is often called a "gutter" in IDE terminology. You might not belive it, but I found this tip as part of the first result by googling "vscode gutter" (a comment in the GitHub issue: Can the VSCode gutter be made smaller, i.e., decreased size/width? #30795).
This question already has answers here:
How do I turn on text wrapping by default in VS Code
(10 answers)
Closed last year.
The code in Vscode is not entering a new line on auto as I write across. It just keeps going sideways making it hard to see all the code.
Go to View then enable Word wrap.
This question already has answers here:
How do you format code in Visual Studio Code (VSCode)?
(29 answers)
How can I switch word wrap on and off in Visual Studio Code?
(24 answers)
Closed 2 years ago.
im trying to paste a long line of code but it only pastes to one line, is there a way to pastes it so i dont have to scroll on one line to see the whole code?
# putting this here so i can post this question
In VS Code just use "Toggle Word Wrap" from the top menu "View", then long lines will wrap visually - it's still one line just displayed so you don't have to scroll left or right.
Here a video describing this:
https://www.youtube.com/watch?v=9wUJp1UyjY8
This question already has an answer here:
VSCode Open new view into file
(1 answer)
Closed 2 years ago.
Is there a way in Visual Studio Code to have multiple instances of the same file open, but without splitting the view?
(Sublime editor achieves this with "File > New View Into File")
Just press the icon next to the ... Icon (It looks like a split window), or press Ctrl + \*. I hope this answered your question! :D
Edit: Sorry, I didn't read the whole thing since I came to this post from the best text editor article, lol. I don't think there is a way of doing that. Though I think you can make it yourself if you want to.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Moving and vanishing lines of code; trouble with Eclipse's XML Editor
I have dev enviroment setup for Android development.
Problem arises when scrolling. Source code starts to appear with missing parts (like scroll event didn't correctly refresh view). When I select text, it restores it and after deselecting it becomes missing again.
I have dual monitors on win7, but this happens no matter dual display or single display.
Any ideas?
Tnx in advance.
This problem could potentially be solved by following the steps in this answer : Moving and vanishing lines of code; trouble with Eclipse's XML Editor
In short "Automatically format the XML edited by the visual layout editor" might be the source of the problem.