Code snippets

Provides intelligent code completion for SQL Server editors.

Moderators: JonathanWatts, David Atkinson, Anu Deshpande, Paul Stephenson, Michelle Taylor, Mike Upton, justin.caldicott, Aaron Law

Code snippets

Postby invm » Fri Aug 31, 2012 11:45 am

SQL Prompt version 5.3.4.1

After insertion of the code snippet, to it don't automatically apply case rules, defined on Options > Format > Styles > Case page.
invm
 
Posts: 2
Joined: Mon Jun 04, 2012 6:57 am

Postby andy.campbell.smith » Mon Sep 03, 2012 12:19 pm

SQL Prompt will expand snippets exactly as they're formatted in the snippets manager. If you want it to apply your own formatting rules to the snippets, you can run "Format SQL" (Ctrl+K, Ctrl+Y) after expanding the snippet.

This is a feature, not a bug - you can always edit the offending snippet/s in the snippet manager so that it conforms to your preferred style.
Andy Campbell Smith

Red Gate Technical Support Engineer
andy.campbell.smith
 
Posts: 173
Joined: Thu Oct 20, 2011 11:19 am
Location: Red Gate Software


Return to SQL Prompt 5

Who is online

Users browsing this forum: No registered users and 0 guests