facebook

template in SQL Editor

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #281897 Reply

    hhb97b
    Member

    Hi

    My question if there is a way to use code templates inside sql editor like in java where you can write while for a while-loop. If there is – is there anyway to make custom templates?
    If not is there anyway to include this?

    THX

    #281907 Reply

    Loyal Water
    Member

    I’m sorry I did not understand your question. Can you please rephrase it for me and give me and example of what you are looking for.

    #282056 Reply

    hhb97b
    Member

    Hi

    Thx for your answer.

    If inside java-editor you can write “while” and then push ctrl+ space then eclipse write

    while (iter.hasNext()) {
    type element = (type) iter.next();
    }

    this can be setup in preferences java/editor/templates. In here custom templates can be made.

    What I want is similar functionality inside the MyEclipse SQL Editor, so I can make a template called username which write

    select * from username where username=”

    Toad has a similiar functionality.

    #282061 Reply

    Loyal Water
    Member

    Im sorry such a functionality does not exist in MyEclipse. I’ll make a note of this as a feature request.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: template in SQL Editor

You must be logged in to post in the forum log in