Eclipse - Ctrl Contrib (Bottom) - eclipse

For some reason I can't enter parentheses in Eclipse. SHIFT + 8 doesn't work. I have to press CTRL + SHIFT + 8 in order to get an opening parentheses (likewise for ")").
I believe the reason for this is Ctrl "Contrib (Button)" which is some sort of status message at the lower right corner. I'm not sure if it's always been there, but probably not.
This is the only similar problem I found in the net, but the solution doesn't work for me, because such a path (Help -> Software Updates -> Manage Configuration) doesn't exist in my version of Eclipse. Help -> Search didn't help either.
How do I get rid of it? If it's not the source of my problem, what is? Going with CTRL + SHIFT + 8/9 to enter parentheses is really annoying and its not something I'd like to get used to.

The reason for these weired short cuts came up with eclipse sdk. If you downloaded and install the Eclipse SDK Tests you will find some weired settings. Like a blue texftfield in bottom right corner with "Ctrl Contributor" in it and also these short cuts.
To uninstall only these packages go to Window -> Installation Details -> Installed Software (tab) and searching for Test. You should find Eclipse SDK Tests and uninstall it. It just adds some non-sense features to your IDE to test if everything works.
Hope it helped and sorry for my english!

Found this, which solved my problem.
Went to Window -> Preferences -> General -> Keys, and looked for key combinations that used SHIFT + 8. There were two such options:
- Import
- Add to Working Set
I removed the hotkeys from them and restarted Eclipse. It worked for me.

Related

eclipse: can't set break point, not working

I am trying to debug a C++ program using Eclipse. For some reason, it doesn't allow me to set a breakpoint. I have used Ctrl + Shift + B. But that doesn't work.
Currently, I can only step in and step out. But here is a while loop that terminates until it hits 10000, I can't click that many times....'
PS: when I double click a line, it shows ("add bookmark").
This sounds like Eclipse bug 511114 which has already been fixed. How about an upgrade to Eclipse Oxygen?

Go to next compiler error across project in IntelliJ

I spend a lot of time going back and forth between SBT and IntelliJ, getting a file, line number, and error from SBT and navigating to it in IntelliJ. Is there a way to automate this at all? Even if it's only via IntelliJ's compiler, I'd love to be able to navigate to the next error project-wide.
To navigate between errors or warnings in IntelliJ you can do one of the following:
Use keyboard shortcuts F2 (Next) and Shift+F2 (Previous) respectively.
On the main menu, choose Navigate | Next / Previous Highlighted Error.
I am using Ctrl+Alt+Up/Down to scroll through the list of errors. This is inside the Compile Messages window. The SBT Console uses the same shortcut, as stated in the SBT wiki.
For this specific question, just use F2 (Next) and Shift+F2 (Previous);
But for any other questions related to shortcuts of IDEA, searching in the Settings-Keymap is better than in Google.
To go to next compilation error in the next file:
Command-0 (go to messages tab where compile errors are)
Down arrow until get to next error
Enter
Esc to get to back to code where this error is
The highly voted answer has not really answered the question. The provided solution of F2 only navigates through the errors in the current file. But picking up from the comments, the suggestion below is not the ultimate answer but is a little bit closer.
Select Problems as shown in the image below
This will list all files that have errors.
Use F2 to navigate through the errors.
At least with this method, it has narrowed down the files with the errors and are just a click away.
2022 UPDATE
This is a whole project, error to error, one-click solution after a 2-second setup. For both setups, optionally disable generate warnings for your compiler.
Windows/Linux Setup
Alt6 or click Project Errors tab of Problems tool window
CtrlNumPad+ or click
to expand all errors
MacOS Setup
Cmd6 or click Project Errors tab of Problems tool window
Cmd+ or click to expand all errors
Now click the first error in the Project Errors tab, fix it, then click the next error. Works regardless of build tool and may work in older versions of intellij than 2022.1.
Edit: Credit #Manuel Romeiro - the answer in his comment worked for a while, but stopped when intellij got confused somehow. Will update my answer if I figure that out.
Thanks #meridsa for providing setup step 1 for Mac. Also to #K. Symbol for syntax for showing keys in an answer (very cool).
For the mac I couldn't find anything that worked until I discovered the following
cmd + 1 -> f2 (on files) -> escape -> f2 (inside file) -> cmd + 1 -> repeat
For going to the next error across the entire project, use Alt+F2 instead of just F2.
On Mac, you can enable Fn regular key functionality in System Preference.
Choose Apple Menu > System Preferences.
Click Keyboard & Mouse.
Click the Keyboard tab.
Select the option Use All F1, F2, Etc. Keys As Standard Function Keys.
Quit System Preferences.

Eclipse on mac osx Mavericks

I want to use Eclipse to develop PHP on my Mac osx Mavericks. How ever I'm using a non-us keyboard and therefore I cannot type > sign which is really frustrating. The command for this is: Shift+ALT+X. I tried to find a solution in the Preferences -> General -> Keys but I could not make it work.
Any idea how can solve this?
I found the solution. Preferences->General->Keys order by Binding. Scroll till u find the Shift + Alt + X + ANY LETTER you have to unbind all of them and then it will work.

Code folding does not work in PydeV + Eclipse

Just downloaded and installed Eclipse Classic, PyDev and the Java Runtime for Windows 64 bit.
All is fine, it seems to work ok - except code folding using the keyboard.
I have tried Ctrl + Numpad-Subtract, Numpad-Add and so on, I have assigned my own sahortcut keys - it simply won't work.
Note: Code folding works when using the mouse. But I program, I use the keyboard, so I need this to work using the keyboard. Anyone have any ideas?
It is just figured out. The root cause is Eclipse by default uses the same key combinations for the standard code folding and PyDev's. So if the keys are changed to, such as Ctrl+9 for Collapse All, PyDev will collapse all code blocks without any issue.
The place to make the changes is Window>Preference>General>Keys>Python Collapse All

Eclipse hang when copying / pasting code

I have a big problem. Eclipse is hanging up when I do any copy/paste with Ctrl+C / Ctrl+V keys.
Is it due to the Eclipse validation code system?
Do I mess something in my Eclipse setting?
Here is my conf :
Eclipse 3.4.2
Plugin RSE
Windows XP pro Service Pack 2
Java VM version = 1.5.0_11-b03
Disabling Hyperlinking fixed this for me. You could also just change the Default modifier key to something other than CTRL if you still want to use hyperlinking.
Go to Window -> Preferences -> General -> Editors -> Text Editors -> Hyperlinking and either uncheck Enable on demand hyperlink style navigation or change Default modifier key.
I had the same issue, and was able to solve it by going to:
Preferences -> Javascript -> Editor -> Typing -> "When pasting" heading
... then turning "Update imports" off.
That one change on its own completely eliminated it, when I was previously getting hangs of 2 seconds or more on almost every copy or paste.
I solved this issue with these steps:
Identify which "editor" is causing the problem. I detected that, in my case, the java script editor was the one causing it, but when copy/pasting in a simple text editor, (no high light, no color , no nothing) there was no such problem.
Note:Eclipse loads the file in different "editor windows/ plugins" depending on the file extension, this is configured in General > Editors > File Associations
As my case was caused by the JavaScript editor, went to Preferences > Java Script > Editor > Typing, and disabled all the "Automatically" boxes. This made the trick.
I solved unchecking all bound to CTRL + C except Copy in Window -> Preferences -> General -> Keys
THE solution!! For me at least.
If CTRL + C works for some editor, not for other, then some plugin settings must have re-affected them to another command.
So you have to go to:
Window->Preferences->General->Startup and Shutdown
and try to disable, one by one the plugins activated on startup:
in my case, was "Dynamic Languages Toolkit Core UI"
I think I have found a beginning of a solution here.
Starting Eclipse with -clean option seems to be better but this not enough.
this is because my "workspace building is hanging up on some flash file"
I faced the problem when editing java code. Every time I typed CTRL + C the editor freezes for a short period of time.
In my case I only turned of the Go to declaration that is available in textual editors. SeeWindow -> Preferences -> General -> Editors -> Text Editors -> Hyperlinking.
In my case it seemed to be related to remote connection to the PC (working directly on the PC was not freezing it, while working remotely via Remmina it was).
My fix was to unbind ALL commands on Ctrl+C (Window > Prefs > General > Keys), including the basic Copy (!!!). The operating system (or Eclipse core functionality) seems to handle clipboard keys correctly by default, no need to bind the additional "Copy" command to it.
Now it's not freezing anymore, enjoy!
Just wanted to share my observations here as a pebble in the ocean, I had tried with all most all of the above options but it didn't solve my issues.
Actually, in my case the main culprit was the java file size, as lines of code increased encountering this hanging while copy & paste actions.
So quick workaround which I made to have a temp file for development and once all done, moving the code to respective java file, get me out of this hurdle. (I am a selenium + Java guy, so this workaround worked for me).