Archive for the ‘Eclipse’ Category

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

....
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx256m

Update eclipse.ini

...
--launcher.XXMaxPermSize
512m
-vmargs
-Xms100m
-Xmx512m

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