<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Doens.be &#187; Code Editor</title>
	<atom:link href="http://www.doens.be/tag/code-editor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.doens.be</link>
	<description></description>
	<lastBuildDate>Sat, 07 Jan 2012 04:20:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Ax 2012 Editor improvements</title>
		<link>http://www.doens.be/2011/12/ax-2012-editor-improvements/</link>
		<comments>http://www.doens.be/2011/12/ax-2012-editor-improvements/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 06:00:41 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Ax 6.0 (2012)]]></category>
		<category><![CDATA[Code Editor]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=1003</guid>
		<description><![CDATA[In Microsoft Dynamics AX 2012, a new X++ Editor is introduced which replaces the current legacy editor. The new X++ Editor is based on hosting a Visual Studio 2010 Editor Framework control. Here are a few Tips &#38; Tricks: Type &#8216;main&#8217; + TAB: The editor generates a standard Main-method. Note: This trick works with all [...]]]></description>
			<content:encoded><![CDATA[<p>In Microsoft Dynamics AX 2012, a new X++ Editor is introduced which replaces the current legacy editor. The new X++ Editor is based on hosting a Visual Studio 2010 Editor Framework control.</p>
<p>Here are a few Tips &amp; Tricks:</p>
<ul>
<li>Type <strong>&#8216;main&#8217; + TAB</strong>: The editor generates a standard Main-method.<br />
Note: This trick works with all templates (right-click &#8211;&gt; Add-in &#8211;&gt; Template)</li>
<li>Type <strong>&#8216;///&#8217;</strong> on the top of a method. When you do so you get the standard header for generating XML-documentation.</li>
<li>While the intellicense <strong>drop-down</strong> is shown press <strong>CTRL</strong>. The drop-down dialog becomes transparent.</li>
<li><strong>CTRL + &#8216;c&#8217;</strong> at the begin of the line will copy the whole line.</li>
<li><strong>CTRL + &#8216;i&#8217;</strong> and start typing the word that you want to find. If you want the next, just type CTRL + &#8216;i&#8217; again.</li>
<li><strong>CTRL + scroll</strong> up/down to zoom in and out to the code.</li>
<li>Make a link to <strong>AX32.exe -development</strong> to go directly to the development-mode.</li>
</ul>
<p>You can find more on <a title="Microsoft Dynamics AX 2012 - X++ Editor" href="http://channel9.msdn.com/Blogs/mfp/AX2012-X-Editor" target="_blank">chanel 9</a><br />
<iframe style="height: 288px; width: 512px;" src="http://channel9.msdn.com/Blogs/mfp/AX2012-X-Editor/player?w=512&amp;h=288" frameborder="0" scrolling="no" width="320" height="240"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2011/12/ax-2012-editor-improvements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create class from code</title>
		<link>http://www.doens.be/2010/03/create-class-from-code/</link>
		<comments>http://www.doens.be/2010/03/create-class-from-code/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 07:00:31 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Code Editor]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[X++]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=396</guid>
		<description><![CDATA[Did you know that you can build/modify classes from code? It is actually not so hard, just use the ClassBuild-class. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 static void JeDoe_testClassBuild&#40;Args _args&#41; &#123; ClassBuild classBuild; ClassNode classNode; Str myCode; ; myCode [...]]]></description>
			<content:encoded><![CDATA[<p>Did you know that you can build/modify classes from code? It is actually not so hard, just use the <strong>ClassBuild</strong>-class.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
</pre></td><td class="code"><pre class="xpp" style="font-family:monospace;"><span style="color: #0000ff;">static</span> <span style="color: #0000ff;">void</span> JeDoe_testClassBuild<span style="color: #000000;">&#40;</span>Args _args<span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
    ClassBuild  classBuild;
    ClassNode   classNode;
    <span style="color: #0000ff;">Str</span>         myCode;
    ;
    myCode <span style="color: #00007f;">=</span>
@<span style="color: #ff0000;">&quot;
static void Main(Args _args)
{
    ;
    info('Hello World!');
}
&quot;</span>;
&nbsp;
    classBuild <span style="color: #00007f;">=</span> <span style="color: #0000ff;">new</span> ClassBuild<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">&quot;MyTest&quot;</span><span style="color: #00007f;">,</span> <span style="color: #0000ff;">false</span><span style="color: #000000;">&#41;</span>;
    classBuild.<span style="color: #000000;">addMethod</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">&quot;Main&quot;</span><span style="color: #00007f;">,</span> myCode<span style="color: #000000;">&#41;</span>;
&nbsp;
    classNode <span style="color: #00007f;">=</span> classBuild.<span style="color: #000000;">classNode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
    classNode.<span style="color: #000000;">AOTcompile</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
    classNode.<span style="color: #000000;">AOTrun</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>The sample above will create a new class MyTest with a &#8216;Hello World&#8217; Main-method and will actually save compile/save the code in the AOT and then run it. Cool?</p>
<p>Note: The SysDictClass/SysDictMethod-class can also help you creating proper classes and methods. Maybe I&#8217;ll blog about this later.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2010/03/create-class-from-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Editor &#8211; shortcuts</title>
		<link>http://www.doens.be/2010/02/code-editor-shortcuts/</link>
		<comments>http://www.doens.be/2010/02/code-editor-shortcuts/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 07:00:20 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Ax 4.0]]></category>
		<category><![CDATA[Ax 5.0 (2009)]]></category>
		<category><![CDATA[Code Editor]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[X++]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=362</guid>
		<description><![CDATA[Underneed you find the list of shortcuts I use most in Microsoft Dynamics Ax while developing. General (shortcuts I also use outside AX) CTRL + S : Save. CTRL + C : Copy text to clipboard. CTRL + X : Cut text to clipboard. CTRL + V : Past text from clipboard. CTRL + A : [...]]]></description>
			<content:encoded><![CDATA[<p>Underneed you find the list of shortcuts I use most in Microsoft Dynamics Ax while developing.</p>
<ul>
<li>General (shortcuts I also use outside AX)
<ul>
<li>CTRL + S : Save.</li>
<li>CTRL + C : Copy text to clipboard.</li>
<li>CTRL + X : Cut text to clipboard.</li>
<li>CTRL + V : Past text from clipboard.</li>
<li>CTRL + A : Select all.</li>
<li>CTRL + LEFT / RIGHT ARROW : Next/Previous word.</li>
<li>CTRL + SHIFT + LEFT / RIGHT ARROW : Select one word to the left/right.</li>
<li>CTRL + HOME / END : Go to begin/end of the editor.</li>
<li>SHIFT + HOME / END : Select text from the cursor to the start/end.</li>
<li>SHIFT + PAGE-UP / PAGE-DOWN : Select the previous/next page. of the line.</li>
<li>TAB / SHIFT + TAB : Indent Selection / Remove Indent Selection.</li>
<li>CTRL + BACKSPACE : Remove previous word.</li>
<li>CTRL + F : Find.</li>
<li>F3 : Find Next.</li>
<li>CTRL + Z / Y : Undo / Redo.</li>
<li>CTRL (+ SHIFT) + TAB : Next/Previous tab-page.</li>
</ul>
</li>
<li>Ax specific
<ul>
<li>Current Line in the Code Editor
<ul>
<li>ALT + L : Select current line.</li>
<li>CTRL + L : Remove current line.</li>
</ul>
</li>
<li>Breakpoints
<ul>
<li>F9 : Insert / Remove breakpoint.</li>
<li>SHIFT + F9 : Show all breakpoints.</li>
<li>CTRL +F9 : Enable / Disable breakpoint.</li>
<li>CTRL + SHIFT + F9 : Remove all breakpoints.</li>
</ul>
</li>
<li>Compile / Run
<ul>
<li>F5 : run / execute current Job / Class / Form</li>
<li>CTRL + BREAK : Stop execution.</li>
</ul>
</li>
<li>Lookup / More Info
<ul>
<li>CTRL + ALT + SPACE : Lookup label.</li>
<li>CTRL + SHIFT + SPACE : Lookup definition (go to the method).</li>
<li>CTRL + SPACE : Show syntax information.</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>And there are more shortcuts. You can find them on <a href="http://msdn.microsoft.com/en-us/library/aa865357.aspx" target="_blank">MSDN</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2010/02/code-editor-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

