Search blog

Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts

Friday, May 5, 2017

Eclipse Lagging While Typing PHP Codes, Java Codes etc in Windows or Linux

If you are experiencing lag and delays while typing your codes in the Eclipse IDE the following simple change in your settings will resolve the issue.

1. Goto Windows
2. Goto Preferences
3. Then suppose you want to resolve the issue for PHP, select PHP
4. Under PHP >> Editor
5. Under PHP >> Editor >> Content Assist
6. Deselect the option 'Enable auto activation', or
7. You may increase the 'Auto activation delay'

Please refer image below if you are still unclear with the above steps:

Eclipse Lagging While Typing PHP Codes, Java Codes etc in Windows or Linux
 

Tuesday, September 20, 2016

[[Solved]] - How to Update Eclipse from Terminal or IDE in Ubuntu 12.04, 14.04, 15.04, 16.04

Since I had installed Eclipse manually under '/opt/eclipse/' directory and not from the Ubuntu Software Centre, I couldn't update it from the terminal. Trying to Update Eclipse from the Terminal or within the IDE was giving me several errors such as these:

 Error 1:  
 An error occurred while uninstalling  
 session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.platform_root 4.5.1.v20150904-0015 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).  
 Backup of file /opt/eclipse/.eclipseproduct failed.  
 File that was copied to backup could not be deleted: /opt/eclipse/.eclipseproduct 
 Error 2:  
 An error occurred while uninstalling  
 session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp_root 4.5.1.v20150904-0015 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).  
 Backup of file /opt/eclipse/readme/readme_eclipse.html failed.  
 File that was copied to backup could not be deleted: /opt/eclipse/readme/readme_eclipse.html 
 Error 3:  
 An error occurred while uninstalling  
 session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp_root 4.5.1.v20150904-0015 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).  
 Backup of file /opt/eclipse/readme failed.  
 Permission denied  

Update Eclipse

Looking at the above errors I figured out one of the possible cause was that Eclipse did not have SU (Super User) privilege. So, I executed Eclipse from the terminal giving it Super User privilege. And once in the IDE ran and update from within it. (Look image below)

To run Eclipse with Super User Permission from within the terminal. Launch your terminal with CTRL + ALT + T:

 cd /opt/eclipse  
 sudo ./eclipse  

Updating Eclipse from IDE

Once in Eclipse go to Help > Check for Updates. Now the Eclipse should be updated without any error.

Friday, August 26, 2016

How to Type Pi/Phi Symbol in Ubuntu/Eclipse

Follow the instructions below to type the Greek Pi/Phi symbol in Ubuntu:


  1. First & foremost turn off your Num Lock.
  2. Now type CTRL + SHIFT + U
  3. Now you may release the U key & type the following number from your Num Pad 3c0 and then press Spacebar or the Enter/Return key on your keyboard.
  4. Now you should see the Pi symobl as π.

Top 5 Posts (Weekly)