Eclipse Shortcut for switching the class-windows - java

since 6 weeks i´m studying WI. Thats somewhere between business management and IT.
We´re using eclipse and i´m looking for a shortcut that allows to switch between the class-windows like alt + tab for Windows.... windows^^.
Thanks for help.

in tool bar go to Window>Preferences>General>key : change shortcut key as per your use and us can also fine another shortcut for eclipse.

I was searching for the same Shortcut.
I changed the class window accidently with a shortcut and then found out, that you can do it with tab + alt + right/left instead of alt + tab (changes the windows from Windows :D).
Make sure to tab + alt in a free row where no code is, as it will push the line to the right, because of the tab button.
Whoever will search for this.
You're welcome.

Use: Alt + Arrow Key Left/Right

Related

zooming back in on Eclipse neon

while coding on Eclipse neon I must have accidentally hit something, to where the font for the entire code screen, and the console became really small to where it was illegible. Please help; I tried to search this on google but couldn't find anything helpful.
thanks,
shereiza
[CTRL] + [=]
or
[CTRL] + [+]
but do be sure to use the keyboard + not the numpad one
You should be able to zoom by pressing Ctrl+'+' while your code view is active.
Edit:
To access the color and font settings, you might also try:
[Window] -> [Preferences] -> [General] -> [Appearance] -> [Colors and Fonts]
One of the options will be to restore all default settings, but you can also tweak each component individually.

How to remove Windows 7 Shortcut keys

How can I disable some shortcut keys from windows 7?
I'm trying to use:
Alt + Shift + A
on eclipse but no success, and:
Ctrl + Alt + ↓
makes my screen go upside down instead of copying the lines I've selected..
Go to control panel and open the graphic controller property dialog by double clicking on the icon of your graphic driver (in my case it was Intel Extreme Graphics).
It may be different in your case.
In that dialog there must be an option to disable/enable the shortcuts.
In my case the shorcuts were called hotkeys.
Removing the checkbox before it solved the problem.
Those shortcuts are probably taken by your video card drivers. Go to the control panel of it and disable the shortcuts.
edit: What I'm trying to say is that windows is not taking those keys, it's another application.

How do I enable a shortcut on Eclipse?

I used to work at some place that could select a line of code, and by pressing "ALT + SHIFT + DOWN_KEY/UP_KEY", it would copy this line below or above respectively.
Now I work at some place else and this shortcut command does not work.
How can I enable it?
Are you sure it is ALT + SHIFT + UP/DOWN and not CTRL + ALT + UP/DOWN?
If I correctly understand your request, then what you need is to open the preference and go to General > Keys. Look for Copy Lines and Duplicate Lines.
You can use CTRL+ SHIFT+L to see a list of short cuts to check you remembering correctly.
Otherise you can customise/enble shortcuts using
Window --> Preferences --> General --> Keys
As I use Linux, I found the problem.
It has a shortcut registered. What you have to do is disable it.
Go to System, ShortCut Keys, then you remove the shortcut "CTRL+ALT+UP" and "CTRL+ALT+DOWN".
Done, it works.

Keyboard shortcut for refactor/selection/editor options in NetBeans?

In NetBeans IDE where you have an icon appear next to a line of code (for example containing refactoring options) what is the keyboard shortcut to expand that menu?
Thanks
do you mean Show Suggestion/Tip/Hint, Alt + Enter (Mac: Ctrl + Enter)?
On the menubar, go to Tools->Options->Keymap and you can see the keymap settings for everything and set/change them to whatever you want.

Delete a line in Eclipse

In a Visual Studio, you would use Ctrl+L, whereas in Eclipse I am forced to select a line or, if it is empty, go the beginning of the line before clicking delete/backspace.
Is there a quick shortcut? Thanks!
Ctrl + D
From Help->Key Assist... there are all kinds of useful keyboard shortcuts for Eclipse.
For Mac users: ⌘ + D
In the future, if you need to quickly find a keyboard shortcut for something simple, just hit Ctrl+Shift+L.
Ctrl + D should delete the line.
You can reassign the Delete Line command to your favourite hotkey.
Window->Preferences
General->Keys.
Now type "Delete" and reassign the filtered command.
if your are using MAC then it is
command + D => ⌘ + D
To quickly find shortcuts, hit Ctrl + L, Ctrl + L (Ctrl+L twice), then type something approximating what your command does in the filter text for the key assignments. This works pretty well for most shortcuts, although it can be a bit tricky for some where the name of their menu assignment bears no relation to that of their command in this list (for instance, Team->Revert to base appears in the keys list as 'Replace with latest from repository'), so sometimes a little lateral thought is required :-) If no shortcut exists, it's easy to add one in the keys dialog.
And if you want it as a list to take a print or something, here is a link to the eclipse shortcut pdf.
shortcut to pdf page
press Ctrl+Shift+L TWICE and press TAB then you can type to find your shortkeys

Categories

Resources