In eclipse, I use shortcut Ctrl+Click to go to the function. What shortcut is used to return back from where function was called?
I checked many people suggested Alt+LeftArrow. It didn't work.
Thanks!
Related
I am developing in C#, and when I hold down cmd (macOS) and Click a method, I am taken to it's Definition. I am looking for a way to be able to hold down cmd+shift and click the method, and be taken to the methods Implementation. I have searched and tested for some time without finding anything; I am starting to think it is not possible.
Does anyone know how, or if it even is possible?
It's currently impossible. Mouse clicks are not considered modifiers and cannot be customized right now. There's an open issue for this: https://github.com/microsoft/vscode/issues/3130.
You can still press command+F12 to jump to Implementation (which may be unhandy, since you have to press Fn as well). Besides, some applications or specific mouses allow you to map keys.
when I try to go to certain definition I am getting always this annoying dialog
How can it be removed, and I will be navigated strait to the required definition?
The solution was to check "goto" in Multiple Definitions instead of peek
Check if this answer helps you toggle off the feature How to remove popup window showing function definition in VSCode
It seems that you can't go directly to the definition, but the shortcut is already defined.
Sometimes when I write the function name, the api is shown above its name automatically, but sometimes it doesn't work and I have to rewrite the function name to get that, so is there a shortcut key for it?
(I know man function_name but I used to CTRL+Q in NetBeans to get the same thing quickly but I can't find one for vscode.)
ALT+F12 seems to do the job. It's called "peek definition" which is available in the right click options too.
Also note that the opened window doesn't go away by clicking somewhere else outside of it, however, instead you can still use the ESC from keyboard.
I need to disable close button of the dialog window like this:
errordlg, warndlg, msgbox, helpdlg, waitbar.
I found some information about CloseRequestFcn, but I do not know how to use it in the dialog box.
This might not be exactly what you're looking for, but here's a couple of ways how you could remove entire title bar, including the close button:
1) If you're using Windows, you can use WindowsAPI mex function (you will need to compile it, or else download compiled version):
WindowAPI(gcf, 'Clip', true);
2) You can follow Yair's suggestion in his Frameless (undecorated) figure windows article, basic idea behind which is setting setUndecorated(true) on underlying JFrame. Or else, simply use undecorateFig FEX function which does it for you.
When one hovers over a piece of code, say function call, Eclipse pops out a small window that contains this function declaration. Is it possible to make that window display name of the file in which function is defined?
Don't think so, you can use the links in the popup to quickly show the class in question, so that's almost the same thing.