Yousef_Sameh2's blog

By Yousef_Sameh2, history, 18 months 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?
»
18 months 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.

  • »
    »
    18 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    How to do this in sublime text?

    • »
      »
      »
      18 months 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.