How can we help you today? How can we help you today?

First glance and first suggestions

Great job everyone!
I have used versions 1.4 (Atadore) and 2 before and regularily.

So here is a small list of first impressions/suggestions:

Snippets:
- Import from Version 2
- Placeholders (for date for example) --> something like $DATE$
- Execution characters (as has been stateted elsewhere too)
- {TAB} for formatting snippet code
- Automatic execution of snippets after completion keys

Alias:
- When I define an alias as "ab" it creates it in QA as "tab", it would be nice if the alias is exactly created as defined
fdivis
0

Comments

5 comments

  • Tilman
    Hi,
    - Import from Version 2
    Please see here for a reply:

    http://www.red-gate.com/MessageBoard/vi ... php?t=3842
    - Placeholders (for date for example) --> something like $DATE$
    - Execution characters (as has been stateted elsewhere too)
    Please see here for a reply:

    http://www.red-gate.com/MessageBoard/vi ... php?t=3835
    - {TAB} for formatting snippet code
    You can now insert literal tabs into your snippet code.
    - Automatic execution of snippets after completion keys
    Do you mean without opening the candidate list?
    - When I define an alias as "ab" it creates it in QA as "tab", it would be nice if the alias is exactly created as defined
    I'm afraid I can't reproduce the problem. Could you give a step by step explanation of what you are doing?

    Regards,

    Tilman
    Tilman
    0
  • fdivis
    Hi
    Thought that other users might have had some of the same ideas.

    Regarding the last two suggestions:
    -Automatic execution of snippets: yes, I mean without opening the candidate list.

    -Alias mystery solved:
    1 I defined in the options window, Alias tab the following: dbo.tblArtBasis with an alias ab. When I typed something like SELECT * FROM tblArtBas... it made the alias as tab.
    No I defined the alias without dbo. only tblArtBasis and it seems to work.
    http://www.red-gate.com/MessageBoard/viewtopic.php?t=3835
    does not give an answer on the Date-Placeholder.

    Cheers
    fdivis
    0
  • pleonard23
    I agree with the last poster that having tab-completion for the snippets (the behavior in version 2) would be preferable to popping up the selection list. I'm used to just typing:
    SELECT * FROM blah b nl<TAB>
    
    expanding to:
    
    SELECT * FROM blah b with (nolock)
    

    Otherwise everything is looking good so far.

    Paul[/code]
    pleonard23
    0
  • Tilman
    Hi again,
    Automatic execution of snippets: yes, I mean without opening the candidate list.
    I've added it to the list.
    http://www.red-gate.com/MessageBoard/viewtopic.php?t=3835
    does not give an answer on the Date-Placeholder.
    Sorry about that. I've now added it to the list.

    Tilman
    Tilman
    0
  • Bart Read
    fdivis wrote:
    -Alias mystery solved:
    1 I defined in the options window, Alias tab the following: dbo.tblArtBasis with an alias ab. When I typed something like SELECT * FROM tblArtBas... it made the alias as tab.
    No I defined the alias without dbo. only tblArtBasis and it seems to work.

    You might also be interested in knowing that SQL Prompt will automatically learn the aliases you use in the current editing session and then reinsert them for you if you have the automatic alias generation switched on. So if you don't like the alias SQL Prompt gives you, just change it and it will use the new one instead from then onwards.


    Thanks,
    Bart
    Bart Read
    0

Add comment

Please sign in to leave a comment.