<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Windows Live Agents Team Blog : IDE</title><link>http://blogs.msdn.com/windowsliveagents/archive/tags/IDE/default.aspx</link><description>Tags: IDE</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Visual Studio hints</title><link>http://blogs.msdn.com/windowsliveagents/archive/2008/08/11/visual-studio-hints.aspx</link><pubDate>Mon, 11 Aug 2008 22:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8848847</guid><dc:creator>imiluk</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/windowsliveagents/comments/8848847.aspx</comments><wfw:commentRss>http://blogs.msdn.com/windowsliveagents/commentrss.aspx?PostID=8848847</wfw:commentRss><description>&lt;DIV&gt;If you are moving from the old Colloquis IDE to the Visual Studio-based Windows Live Agents SDK, and you've never used Visual Studio, you may be a little lost.&amp;nbsp; This post aims to collect simple hints and tricks for&amp;nbsp;agent developers new to working&amp;nbsp;with Visual Studio.&amp;nbsp; This is just a start -- if you have any hints, please do comment, and later on we'll post a sequel.&amp;nbsp; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Also, this is by no means much of a guide to Visual Studio as a whole, and is really meant to get you started and oriented for agent-development tasks.&amp;nbsp; Also, it's not a guide for creating agents.&amp;nbsp; The first resource for using the new SDK is the &lt;A href="http://msdn.microsoft.com/en-us/library/cc527946.aspx" target=_blank&gt;&lt;FONT color=#4389cf&gt;Windows Live Agents SDK documentation&lt;/FONT&gt;&lt;/A&gt;.&amp;nbsp; You should start there before doing anything.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Agents menus&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;Here are some common menu locations for agent-development tasks:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;Edit -&amp;gt; Find and Replace&lt;/FONT&gt;&amp;nbsp;&amp;nbsp; ... Lots of options for searching through single or multiple files.&amp;nbsp; Regular expressions work!&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;View -&amp;gt; Solution Explorer&lt;/FONT&gt; ... This is rougly equivalent to the Explorer feature in the old IDE, and lets you see the project files in a tree view.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;View -&amp;gt; Class View&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... Lets you see all the project's domains and packages as a flat list of classes.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;View -&amp;gt; Error list&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;... Displays compile errors and warnings.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;View -&amp;gt; Output&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... Similar to the "Misc Debug" pane of the old IDE, displays compiler messages.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;View -&amp;gt; Other Windows -&amp;gt; Conversation Window&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&amp;nbsp;Where you compile and talk to the agent.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;View -&amp;gt; Other Windows -&amp;gt; Comprehension Info Window&lt;/FONT&gt;&amp;nbsp; ... Displays match scoring information.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;Project -&amp;gt; Add DLS Item&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... Add datasources and other DLS items.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;Project -&amp;gt; ProjectName Properties&amp;nbsp; &lt;/FONT&gt;... Specify compile parameters like buddy id,&amp;nbsp;filter, and command-line options.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;Tools -&amp;gt; Windows Live Agents Tools -&amp;gt; Code Management&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... The SDK's interface to the &lt;A href="http://msdn.microsoft.com/en-us/library/cc527970.aspx" target=_blank&gt;&lt;FONT color=#4389cf&gt;Partner Hosting Infrastructure&lt;/FONT&gt;&lt;/A&gt;.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;Tools -&amp;gt; Windows Live Agents Tools -&amp;gt; Request License Certificate&amp;nbsp; &lt;/FONT&gt;... Get a new license cert.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;Tools -&amp;gt; Windows Live Agents Tools -&amp;gt; Management Console&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... Launches the web management console within Visual Studio.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;Tools -&amp;gt; Windows Live Agents Tools -&amp;gt; Update connections file&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&amp;nbsp;Attempts to update the connections file based on the content of your project.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;Tools -&amp;gt; Windows Live&amp;nbsp;Agents Tools -&amp;gt; Performance&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... Various&amp;nbsp;tools for measuring performance.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#c00000&gt;Tools -&amp;gt; Options&lt;/FONT&gt; ... Set things like tabs and&amp;nbsp;syntax highlighting.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Show All Files&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;By default, the SDK will mount a filesystem in the Solution Explorer, which may affect performance if there are a lot of files, causing the editor to lag.&amp;nbsp; If this is the case, you can click "Show All Files" to remove the All Files view, and navigate to files through the Class View.&amp;nbsp; Editing will be a lot faster.&amp;nbsp; Set Show All Files to&amp;nbsp;false by default at&amp;nbsp;Tools -&amp;gt; Options -&amp;gt; Windows Live Agents SDK&amp;nbsp;-&amp;gt; SDK Settings -&amp;gt; General -&amp;gt; "Show&amp;nbsp;All Files on project open."&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Keyboard Shorcuts&lt;/STRONG&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;As of right now, there isn't a keyboard shortcut for starting/stopping the agent in the Conversation Window.&amp;nbsp; However, here are some shorcuts you may find useful:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;CTRL-K CTRL-C ... comment&lt;/DIV&gt;
&lt;DIV&gt;CTRL-K CTRL-U ... uncomment&lt;/DIV&gt;
&lt;DIV&gt;CTRL-ALT-L ... Solution Explorer&lt;/DIV&gt;
&lt;DIV&gt;CTRL-TAB ... toggle through open windows&lt;/DIV&gt;
&lt;DIV&gt;CTRL-Shift-&amp;lt;arrow key&amp;gt; ... move forward/backward by one word&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Many other shortcuts are listed next to the menu items they correspond to.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Window Arrangement&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;One of the best things about Visual Studio is the flexibility it provides for laying out your environment.&amp;nbsp; Any window can be tabbed, docked, or floating, and you can drag everything around the way you like.&amp;nbsp; Right click a window title, or click the small arrow in the top of the pane, to see your options&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8848847" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/windowsliveagents/archive/tags/Buddy+Script/default.aspx">Buddy Script</category><category domain="http://blogs.msdn.com/windowsliveagents/archive/tags/Getting+Started+with+WLA/default.aspx">Getting Started with WLA</category><category domain="http://blogs.msdn.com/windowsliveagents/archive/tags/Debugging/default.aspx">Debugging</category><category domain="http://blogs.msdn.com/windowsliveagents/archive/tags/IDE/default.aspx">IDE</category></item></channel></rss>