Yousef_Sameh2's blog

By Yousef_Sameh2, history, 2 years ago, In English

How can I add a shortcut to a long code instead of writing it on eclipse ?

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
2 years ago, # |
Rev. 2   Vote: I like it -8 Vote: I do not like it

You can add templates in Preferences > Java > Editor > Templates. You can use the templates by typing their name and pressing Ctrl + Space.

  • »
    »
    2 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    How to do this in sublime text?

    • »
      »
      »
      2 years ago, # ^ |
        Vote: I like it -8 Vote: I do not like it

      I haven't used sublime text yet, but I'm pretty sure the same feature is named "Snippets" in sublime.