Why can't I copy code from Eclipse? - eclipse

I've created a code and I'm trying to copy it, I don't know why but I can't copy text. not from the code nor the console.
I tried using Cmd+C and also double-click and "Copy", both of them aren't working.
I can copy using other softwares.
I now noticed that I can paste into the editor but can't copy from the editor.
I have MacBook Air with Mac OS X Yosemite and Eclipse Luna 4.4.1, thank you.

Related

Eclipse doesn't save the previous settings like workspace & Plug-ins

I am using Eclipse Neon on my MacBook & every time I start Eclipse it prompts me for my workspace again and again even though I set it as my default one.
Same goes for the plug-ins I have installed , I need to install eclipse decompiler every time I load eclipse.
I get an error like : "This wizard helps you to import and reinstall previously installed plug-ins. It is triggered because
either you are launching eclipse for the first time or your Eclipse has been updated."
Can someone please assist me with this issue ?
I had the same problem after updating my Mac to Sierra: Eclipse would not remember the default workspace. After moving Eclipse into the Application folder, the problem disappeared.
The issue seems to come from a Mac OSX Sierra feature called 'path randomization' (see eclipse bug 507328). The actual solution to avoid the path randomization seems to be for eclipse to provide signed .dmg images (bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=461670).
Two workarounds that I can suggest are:
Start from the eclipse oomph installer when installing eclipse (see https://www.eclipse.org/forums/index.php?t=rview&goto=1754574#msg_1754574)
Start the actual eclipse executable file instead of opening the .App container

Eclipse mars, cannot open in mac os x

Eclipse mars, I installed it on my Mac OS X 10.11.3 it launched after finishing the installation but when I quit the app and trying to open again it cannot be opened with a dialog box message "Eclipse quit unexpectedly"
There is an alias file in the folder that is extracted. It's called eclipse with no extension. Don't click the eclipse.app icon. This worked for me because it brings up the terminal window. It says it's a unix file, just click ok and Eclipse runs perfectly. Copy that alias to the desktop not the app. I don't know why this work, but it does. FYI IntelliJ didn't have this issues.
This is for eclipse luna on a MacBook air i5 with Sierra.

Using GGTS on Windows, can I setup the middle click button to copy and paste like that in Eclipse?

When I run Eclipse on Linux (Ubuntu), I can quickly copy and paste code using the middle click button on my mouse. Is there a way to set this up on Windows for Groovy/Grails Tool Suite (GGTS)? Thanks
Edit: If it matters any, I am running Version 3.6.0 RELEASE on Eclipse Luna 4.4

IBM Worklight 6.0 - Copy/paste is not working

I am using IBM worklight enterprise edition in Eclipse Juno.
Sometimes cut, copy and paste keyboard shortcuts are not working in my workspace. At the same time the user is allowed to paste the copied content using mouse action Right click -> paste.
The clipboard contents are getting pasted in some other file other than where I am pasting it and makes me to search through all over the application where it is reflected.
Any solution to overcome this problem?
This is not a Worklight issue, but more Eclipse-related.
There are all sort of reports about it...
You can try these solutions:
http://www.jusuchyne.com/codingchyne/2012/12/copy-paste-feature-in-eclipse-juno-sr1/
Delete/Copy/Paste do not work in Eclipse Juno
Sometimes restarting Eclipse, creating a new workspace or using a freshly unzipped copy works too...

How to integrate PyQt designer in Eclipse?

I'm trying to integrate the pydev, pyqt, python and eclipse.
Now the code can be runing without error.
And I know to make the GUI in Qt Designer.
and then modified it in Eclipse.
Now I want to integrate the Qt Designer of PyQt to Eclipse.
Just like the Qt Eclipse Integration for C++.
Use PyQt Designer in Eclipse.
Can anybody teach me how to do it?
Thanks very much!
BTW, I'm try to set the preference of qt project in Eclipse.
But when I add new qt version.I didn't know how to borrow the bin path.
Because there is no bin path in PyQt.And also didn't have qmake,uic,rcc etc.
the version name that I typed is PyQt-Py2.7-x64-gpl-4.8.5-1.exe.
I borrow the include path like C:\python27\Lib\site-packages\PyQt4\Sib\PyQt4.
my OS is win7.
Thanks for your answers!
God bless you!
The only way is to install the Qt Eclipse Integration, that way you can open ui files directly in eclipse.
But this does not work well with plugins and custom widgets, since that requires the exact same Qt version for the Eclipse integration and PyQt (and the same compiler flags..), and that may not be the case.
You could of course build the Qt Eclipse Integration yourself, if it works with the Qt version you're using with PyQt. (it's pre-built for 4.6.1, so it may or may not work with later Qt versions.)
What we've done is to tell Eclipse to open .ui files in Qt Designer outside of Eclipse. Not as nice, but it works with custom widget plugins, so it's a definite win for us.
An easy way to open .ui files generated by Designer is to convert them to python code using "pyuic4" which comes with pyqt. On Windows and Linux (I haven't tested on Mac), open a shell and navigate to the directory containing your .ui file then run the command/flag/args... See example below:
pyuic4 -o newOutputFile.py theOriginalPyQtFile.ui
In the example my input file is called "theOriginalPyQtFile.ui" and the ouput file that will be generated is named "newOutputFile.py" and saved in the same directory as "theOriginalPyQtFile.ui".
After that just open "newOutputFile.py" in Eclipse or any IDE.