Results 1 to 5 of 5
  1. #1
    kewlkeny is offline Member
    Join Date
    May 2011
    Posts
    13
    Rep Power
    0

    Default Eclipse Shorcuts

    Can anyone pls tell me how to add manual shortcuts in eclipse IDE, like for ex to use System.out.println() in a code simple short cut "jj ", whenever i press jj in my code it has to give System.out.prinln()

  2. #2
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    5

    Default Re: Eclipse Shorcuts

    this is already implemented. type sysout+CTRL+SPACE. it possible to change the name for the shortcut to jj but it's a bad idea without CTRL+SPACE

  3. #3
    tnrh1 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    251
    Rep Power
    3

    Default Re: Eclipse Shorcuts

    syso+CTRL+SPACE is also working

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,344
    Blog Entries
    7
    Rep Power
    20

    Default Re: Eclipse Shorcuts

    Navigate to Windows>Preferences>Java>Editor>Templates. You can edit an existing template (e.g. sysout) or define a new one.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  5. #5
    kewlkeny is offline Member
    Join Date
    May 2011
    Posts
    13
    Rep Power
    0

    Default Re: Eclipse Shorcuts

    @JosAH : Yep its working thanks mate :)

Similar Threads

  1. Replies: 2
    Last Post: 10-11-2013, 09:26 AM
  2. New Eclipse plugin: shared (and improved) Eclipse Templates
    By dougwightman in forum Java Software
    Replies: 0
    Last Post: 08-10-2011, 05:26 PM
  3. Replies: 0
    Last Post: 08-10-2011, 05:24 PM
  4. Replies: 4
    Last Post: 12-21-2010, 03:26 PM
  5. Eclipse Bug - Can't Read From A File Using Eclipse?
    By carlodelmundo in forum New To Java
    Replies: 6
    Last Post: 01-26-2009, 04:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •