Archive for the ‘Eclipse’ Category

Setting up Eclipse Classpath for Maven project

Wednesday, November 28th, 2012

So, first, once per workspace, we need to do this. (from any path)

mvn -Declipse.workspace=/path/to/eclipse/workspace eclipse:configure-workspace

This will add the maven repository lib folder as a variable to eclilpse

Then, per project, we do the following in the project file path (where the pom.xml is)

mvn eclipse:eclipse


Eclipse: Set default file encoding to UTF-8

Thursday, December 16th, 2010
  • Eclipse > Preferences (or Command , on OSX)
  • General > Workspace | Text File Encoding (switch to Other: UTF-8)
You can also do the same at the project level.

Eclipse: Boost performance with Memory setup

Tuesday, November 24th, 2009

Eclipse can become quite slow, especially if you have plugins like AJDT installed. Boosting the memory can help. Edit your eclipse.ini.

Original eclipse.ini


Update eclipse.ini


Eclipse: Escape string when pasting

Tuesday, September 8th, 2009
  1. Go to: Window>Preference>Java>Editor>Typing
  2. Check the box: Escape text when pasting into a string literal
Source: Eclipse Tip: Escape text when pasting

Eclipse: Top Shortcuts

Monday, July 13th, 2009
  • File Quick Seeker: Ctrl + Shift + R
  • Type (Class, Interface) Quick Open: Ctrl + Shift + T
  • Methods quick seeker: Ctrl + O (Additional Ctrl + O shows inherited methods)
  • Quick method jump: Ctrl + Shift + (uparrow) or (downarrow)
  • Go to line: Ctrl + L
  • Go to last edit: Ctrl + Q
  • Go to supertype/subtype: Ctrl + T
  • Go to editor: Ctrl + E
  • Go to declaration: F3 (Same as Ctrl Click)

See also:

Eclipse: Remove my Aptana welcome screen

Monday, June 29th, 2009
  1. Go to Window –> Preferences –> Aptana –> My Aptana/Message Center
  2. Check “Never display after startup”

Or in some version go to: Preferences > Aptana > Startup Page (and check the “Never …”

RegEx: Best RegEx Eclipse Plugin QuickRex

Wednesday, November 12th, 2008