Behavior of "Open Selection" CTRL+D - matlab

How can I tell MATLAB to open a variable (double click, CTRL+D) in the same window as the variable I am already inspecting? Currently, my MATLAB always opens a new inspection window when openening a variable, which gets confusing quickly.
I can send all variables to the same window (with multiple tabs) using "Dock All in Variables", which gives me the desired behavior until I undock one variable. Also, I lose my (maybe intended) separation of variable-inspection-windows.
So I want to be able to have multiple "Variables" windows, where an opened variable of a window is displayed using a tab in this specific window.

Related

How to make the spyder Ipython Console display function arguments tooltips automatically?

I am using the Spyder which comes inside the Anaconda3 IDE. I found the Ipython Console here is very helpful in the sense that when I type in a function, the arguments and default values will come up automatically. When I used to use Jupyter notebook, there is no such functionality.
What I mean is like this:
When you just typed the function name and a left bracket, the Arguments help window just pop up.
However, my problem is that, sometimes, in the middle of this function completion, in this example, I finished typing bottom=a, but I forgot what should be passed to width, so let's say I pressed Alt+Tab in windows system to check it out in a PDF. Then I press Alt+Tab to switch back to Ipython console, but now the Arguments help window just dispeared.
My question is is there any shortcuts to make the it appear again? Typically, I just have to clear all my arguments, and go back to type the left bracket another time to make it appear to help me specify the arguments, but this is unkind.
Press shift+tab to get the argument window back.
Press ctrl+space to get the function window which appears after a dot (e.g. after "plt.").
Use the object inspector (renamed to the help window in later versions of Spyder). It gives the information you're looking for and much more!
In the main window, click on Tools -> Preferences -> Help -> Automatic connections -> check "IPython Console" and any others you'd like to use.
Go to the help tab which is defaulted to the top right of the main Spyder gui.
Click the gear on the top right of the help window and select "Rich Text"
Set the "Source" to "Console" on the upper left side of the "Help" tab.
In your IPython console, type plt.barh(.
Note the lock button next to the gear. This will lock the help window to the function while you continue to write code.

MATLAB: set keyboard shortcut to go to line where current code execution stopped

I would like to set a key short-cut. e.g. ctrl+1 or so, to go in the editor into the file and line where the 'keyboard' command stopped the current code execution in order to debug faster. Is this possible? Or does it exist already? Now, even when I click the function in the debugger tab, it doesn't go there if that function was last clicked and in the mean time you moved manually to another function in the editor. I first have to click another function in the pop down menu and than re-click to function I want to go to. Very annoying.

Using ctrl-backspace to remove previous word in MATLAB command window

I use ctrl-backspace in MATLAB Editor (MATLAB 2015a) to remove the previous word, but it doesn't work in the command window. I tried changing it in Preferences -> Keyboard -> Shortcuts, but there doesn't seem to be the option to bind it to "Remove Previous Word" in the Command Window. In the attached image, you can see that it is set to work in the MATLAB Editor, but when clicking the down-arrow next to where it says MATLAB Editor, it does not show any other options.
This seems like a very common shortcut used by many Windows programs, and it's strange that it should only be allowed in the editor. If it's actually not allowed, why? Is there a workaround?
I tried to post an image of this but stack overflow says I'm not yet cool enough.

Matlab command window unresponsive after losing focus

I am using matlab on linux with gnome and I have a problem with the command window. Note that this problem goes away when I switch to twm, but I don't want to do that (for obvious reasons).
When the command window loses focus and then regains focus, it freezes, i.e., it ignores anything I type. The only consistent way I've found to unfreeze it is to click somewhere within the matlab window, but outside the command window (for example, the workspace or command history windows), and then click back in the command window.
This is very annoying and it happens all the time. Any help would be appreciated!
Thanks

Making Eclipse Variable View window size larger

While debugging in eclipse, I find myself using the move hover over variables for a quick snapshot on a variable, which pops up a quick variable view window. When these are structs, there are many members and the window Eclipse puts showing the data is too small to see more than a couple of them.
Is it possible to change the size of this window to make it larger by default? I constantly have to stop and enlarge it to see everything, which defeats the purpose of using it versus the watch window. I've looked at Eclipse settings and searched in google but no luck.
Instead of hovering the variable, I suggest you to double click the variable (or expression) and press Ctrl+Shift+I, it will bring the Inspect Variable popup which you can resize (and it will remember the size the next time you reopen it). Press Esc to close it (or click outside the popup).
Is not as simple as hovering over the variable, but the next time you do this combination to a variable (or an expression) the popup will open with the new size.