<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/wordpress-mu-1.2.3-2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: SQL-to-Code Macro</title>
	<link>http://blogs.teamb.com/craigstuntz/2008/04/04/37810</link>
	<description>News of interest to Delphi, .NET, and InterBase developers</description>
	<pubDate>Mon, 06 Oct 2008 12:54:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=wordpress-mu-1.2.3-2.2.1</generator>

	<item>
		<title>By: James</title>
		<link>http://blogs.teamb.com/craigstuntz/2008/04/04/37810#comment-3494</link>
		<author>James</author>
		<pubDate>Thu, 24 Apr 2008 06:20:27 +0000</pubDate>
		<guid>http://blogs.teamb.com/craigstuntz/2008/04/04/37810#comment-3494</guid>
		<description>I think the free online sql formatter can help you do is instantly.

http://www.wangz.net/gsqlparser/sqlpp/sqlformat.htm</description>
		<content:encoded><![CDATA[<p>I think the free online sql formatter can help you do is instantly.</p>
<p><a href="http://www.wangz.net/gsqlparser/sqlpp/sqlformat.htm" rel="nofollow">http://www.wangz.net/gsqlparser/sqlpp/sqlformat.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Derk</title>
		<link>http://blogs.teamb.com/craigstuntz/2008/04/04/37810#comment-3466</link>
		<author>Jan Derk</author>
		<pubDate>Sun, 06 Apr 2008 20:11:16 +0000</pubDate>
		<guid>http://blogs.teamb.com/craigstuntz/2008/04/04/37810#comment-3466</guid>
		<description>Hopefully, CodeGear will add support for multi-line strings to Delphi, like all other modern languages already have. 

That way we the developers would not have to resort to hacks like this. Plus it will make the source code more readable.

Andreas Hausladen already created an extension which does this, but I like to see it integrated:
http://andy.jgknet.de/blog/archives/50-Multiline-string-constants.html</description>
		<content:encoded><![CDATA[<p>Hopefully, CodeGear will add support for multi-line strings to Delphi, like all other modern languages already have. </p>
<p>That way we the developers would not have to resort to hacks like this. Plus it will make the source code more readable.</p>
<p>Andreas Hausladen already created an extension which does this, but I like to see it integrated:<br />
<a href="http://andy.jgknet.de/blog/archives/50-Multiline-string-constants.html" rel="nofollow">http://andy.jgknet.de/blog/archives/50-Multiline-string-constants.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken White</title>
		<link>http://blogs.teamb.com/craigstuntz/2008/04/04/37810#comment-3463</link>
		<author>Ken White</author>
		<pubDate>Fri, 04 Apr 2008 17:28:59 +0000</pubDate>
		<guid>http://blogs.teamb.com/craigstuntz/2008/04/04/37810#comment-3463</guid>
		<description>Nice post.

I have a better way, though. Peter Below posted code for a console app a while back called "cliptoconst", which takes text off the clipboard and automatically formats it for the IDE (including + and ; in the proper places).  I added it to the RAD Studio 2007 Tools menu, assigning a mnemonic shortcut key (C, for "ClipToConst"). So going from SQL Server Management Studio or Visual Query Builder to the code editor is simple:

1. Select the text in the query tool and then Ctrl+C.
2. Switch to the IDE, type "const" and Enter.
3. Alt+T+C (for Tools-&#62;ClipToConst)
4. Ctrl+V to paste.

Voila! Now I have a properly formatted (and indented) constant declaration.</description>
		<content:encoded><![CDATA[<p>Nice post.</p>
<p>I have a better way, though. Peter Below posted code for a console app a while back called "cliptoconst", which takes text off the clipboard and automatically formats it for the IDE (including + and ; in the proper places).  I added it to the RAD Studio 2007 Tools menu, assigning a mnemonic shortcut key (C, for "ClipToConst"). So going from SQL Server Management Studio or Visual Query Builder to the code editor is simple:</p>
<p>1. Select the text in the query tool and then Ctrl+C.<br />
2. Switch to the IDE, type "const" and Enter.<br />
3. Alt+T+C (for Tools-&gt;ClipToConst)<br />
4. Ctrl+V to paste.</p>
<p>Voila! Now I have a properly formatted (and indented) constant declaration.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
