Red Gate forums :: View topic - Apply formatting on commit
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Source Control 2
SQL Source Control 2 forum

Apply formatting on commit

Search in SQL Source Control 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
simonjmartin



Joined: 13 Oct 2011
Posts: 11

PostPosted: Thu Oct 13, 2011 9:12 am    Post subject: Apply formatting on commit Reply with quote

I would like to be able to auto format anything in a commit, as a means of quickly and consistently laying out all scripts.

Each developer has their own style and layout habits and trying to retrospectively update the entire back catalogue of stored procedures, udf's etc. is a monumental task. So instead I would like to be able to specify that whenever code is committed that it is 'run through a standard SQL Prompt' code organisation. Of course each developer should do this themselves and I know we can share the style definitions but it's "one more thing" to remember, so automating it (or having the option available if the computer has both SQL Source Control and SQL Prompt installed) would be awesome [/i]
Back to top
View user's profile Send private message
eddie davis



Joined: 14 Jun 2006
Posts: 937
Location: Red Gate Software

PostPosted: Mon Oct 17, 2011 10:49 am    Post subject: Reply with quote

Thank you for your post into the forum.

I have submitted a feature request for formatting to be automatically applied when performing a commit.

I cannot guarantee that the feature request will be successful. Or if approval is given, what future version of the product the requested feature will appear in.

Thank you very much for your suggestion.

Best Regards
Eddie
_________________
Eddie Davis
Technical Support Engineer
Red Gate Software Ltd
E-mail: support@red-gate.com
Back to top
View user's profile Send private message Send e-mail
David Atkinson



Joined: 05 Dec 2005
Posts: 1122
Location: Twitter: @dtabase

PostPosted: Mon Oct 17, 2011 12:09 pm    Post subject: Reply with quote

Simon - this is a great idea. Are there any other checks you'd like done to the code before or while it is being committed?

David Atkinson
Product Manager
Red Gate Software
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group