<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - Extension development essentials - Comments</title>
 <link>http://community.activestate.com/forum-topic/extension-development-essentials</link>
 <description>Comments for &quot;Extension development essentials&quot;</description>
 <language>en</language>
<item>
 <title>Disable XUL cache</title>
 <link>http://community.activestate.com/forum-topic/extension-development-essentials#comment-4853</link>
 <description>&lt;p&gt;You can dramatically reduce Komodo restart by setting the pref &lt;/p&gt;
&lt;pre class=&quot;geshifilter&quot;&gt;user_pref(&quot;nglayout.debug.disable_xul_cache&quot;, true);&lt;/pre&gt;&lt;p&gt;
Add it from about:config (see &lt;a href=&quot;http://community.activestate.com/forum-topic/launch-komodos-about-conf&quot;&gt;here&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;After this setting you need to restart only if modifications are on main komodo.xul.&lt;br /&gt;
Every modifications on css(s), xul dialogs, locale files are effective without restart&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
dafi&lt;br /&gt;
Enhance KomodoEdit with &lt;a href=&quot;http://dafizilla.sourceforge.net/morekomodo/index.php&quot;&gt;MoreKomodo&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Sun, 30 Mar 2008 20:20:57 +0100</pubDate>
 <dc:creator>dafi</dc:creator>
 <guid isPermaLink="false">comment 4853 at http://community.activestate.com</guid>
</item>
<item>
 <title>Key Binding</title>
 <link>http://community.activestate.com/forum-topic/extension-development-essentials#comment-4773</link>
 <description>&lt;p&gt;These are some very useful tips, thanks Jeff. ) I find it very convenient to assign a key binding to a macro. This will allow you to trigger the macro without going into the toolbox. If you are like me and you like to test every single line of code you type this is a time saver.&lt;/p&gt;
&lt;p&gt;) If you extension requires the use of XUL I find XUL Explorer very helpful: &lt;a href=&quot;http://developer.mozilla.org/en/docs/XUL_Explorer&quot; title=&quot;http://developer.mozilla.org/en/docs/XUL_Explorer&quot;&gt;http://developer.mozilla.org/en/docs/XUL_Explorer&lt;/a&gt;. This handy tool allows you to prototype your design.&lt;/p&gt;
&lt;p&gt;) Use Shift + F1 to get context sensitive help from developer.mozilla.org&lt;/p&gt;
</description>
 <pubDate>Wed, 26 Mar 2008 00:54:54 +0000</pubDate>
 <dc:creator>Stan</dc:creator>
 <guid isPermaLink="false">comment 4773 at http://community.activestate.com</guid>
</item>
<item>
 <title>Extension development essentials</title>
 <link>http://community.activestate.com/forum-topic/extension-development-essentials</link>
 <description>&lt;p&gt;I decided to post these tips after observing how nice and streamlined my Komodo hacking has become lately.&lt;/p&gt;
&lt;p&gt;1. Run two copies of Komodo. If you don&#039;t have installs of IDE and Edit, you can always launch a separate instance of Edit with new prefs by setting the KOMODO_USERDATADIR environment variable. This allows me to have my extension project and code open in the main Komodo instance, while using the second instance for testing my changes ( which requires a re-start ).&lt;/p&gt;
&lt;p&gt;2. Install the Extension Developer&#039;s Extension:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://community.activestate.com/komodo-extension/komodo-developer-extension&quot; title=&quot;http://community.activestate.com/komodo-extension/komodo-developer-extension&quot;&gt;http://community.activestate.com/komodo-extension/komodo-developer-exten...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This extension ported by Todd over to Komodo gives you some killer tools for extension dev, in particular for me the JS shell.&lt;/p&gt;
&lt;p&gt;3. Un-jar your code and edit it directly in the prefs directory. To make this simpler I actually add the extension directory from the testing instance of Komodo&#039;s prefs as a Live Folder in my extension project.&lt;/p&gt;
&lt;p&gt;4. Hack things up in Macros first. Prototyping your code as a macro will save time by removing altogether the need to re-start Komodo to see your changes.&lt;/p&gt;
&lt;p&gt;Any other tips?&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/extension-development-essentials#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-extensions-0">Komodo Macros and Extensions</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <pubDate>Tue, 25 Mar 2008 21:58:59 +0000</pubDate>
 <dc:creator>jeffg</dc:creator>
 <guid isPermaLink="false">2109 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
