<?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 - Problem to find API documentation :-( - Comments</title>
 <link>http://community.activestate.com/forum-topic/problem-find-api-documentation</link>
 <description>Comments for &quot;Problem to find API documentation :-(&quot;</description>
 <language>en</language>
<item>
 <title>Oh my god now</title>
 <link>http://community.activestate.com/forum-topic/problem-find-api-documentation#comment-3037</link>
 <description>&lt;p&gt;Oh my god now works!!!!&lt;/p&gt;
&lt;p&gt;Thanks a lot&lt;/p&gt;
&lt;p&gt;I&#039;m near to release a new MoreKomodo version with little features added.&lt;br /&gt;
With these useful informationI hope to speedup the work&lt;/p&gt;
&lt;p&gt;thanks for you patience with me ;-)&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
davide&lt;/p&gt;
</description>
 <pubDate>Thu, 27 Sep 2007 06:23:44 +0100</pubDate>
 <dc:creator>dafi</dc:creator>
 <guid isPermaLink="false">comment 3037 at http://community.activestate.com</guid>
</item>
<item>
 <title>Enable the catalog</title>
 <link>http://community.activestate.com/forum-topic/problem-find-api-documentation#comment-3035</link>
 <description>&lt;p&gt;To get completion for the ko namespace for Macros and JavaScript files, you need to do the following:&lt;/p&gt;
&lt;p&gt; - go to Preferences / Code Intelligence and enable the &#039;Komodo&#039; api catalog.&lt;br /&gt;
 - Macros need to be edited in an editor tab ( eg right-click / Edit Macro ). If you edit the Macro in the &#039;Properties&#039; dialog instead you won&#039;t get any completion.&lt;/p&gt;
&lt;p&gt;XPCom interface completion should &#039;just work&#039; in JavaScript, for example:&lt;/p&gt;
&lt;div class=&quot;geshi-block&quot;&gt;
&lt;div class=&quot;geshifilter javascript&quot; style=&quot;font-family: monospace;&quot;&gt;os = Components.&lt;span style=&quot;color: #006600;&quot;&gt;classes&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;@activestate.com/koOs;1&#039;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #006600;&quot;&gt;getService&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;Components.&lt;span style=&quot;color: #006600;&quot;&gt;interfaces&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;koIOs&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/p&gt;
&lt;p&gt;os.&lt;/div&gt;
&lt;pre class=&quot;geshi-plain&quot;&gt;os = Components.classes[&#039;@activestate.com/koOs;1&#039;].
        getService(Components.interfaces.koIOs);

os.&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;You should get completion on &#039;os&#039;.&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
JeffG&lt;/p&gt;
</description>
 <pubDate>Thu, 27 Sep 2007 06:16:23 +0100</pubDate>
 <dc:creator>jeffg</dc:creator>
 <guid isPermaLink="false">comment 3035 at http://community.activestate.com</guid>
</item>
<item>
 <title>Thanks a lot but for me</title>
 <link>http://community.activestate.com/forum-topic/problem-find-api-documentation#comment-3034</link>
 <description>&lt;p&gt;Thanks a lot but for me completion doesn&#039;t work with ko namespace or XPCOM iterfaces.&lt;/p&gt;
&lt;p&gt;PS&lt;br /&gt;
Your work at ActiveState is great&lt;/p&gt;
</description>
 <pubDate>Thu, 27 Sep 2007 05:52:13 +0100</pubDate>
 <dc:creator>dafi</dc:creator>
 <guid isPermaLink="false">comment 3034 at http://community.activestate.com</guid>
</item>
<item>
 <title>Some additional notes</title>
 <link>http://community.activestate.com/forum-topic/problem-find-api-documentation#comment-3023</link>
 <description>&lt;p&gt;In JS code, you can obtain the list of completions for an xpcom interface by typing the full component name. In the following example you should see completions on every dot:&lt;/p&gt;
&lt;pre&gt;Components.interfaces.koIRemoteConnectionService.&lt;/pre&gt;&lt;p&gt;
This gives you quick way to browse over the Komodo xpcom interfaces on the fly.&lt;/p&gt;
&lt;p&gt;For remote file functionality, you should examine the following IDL files (interfaces):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;koIRemoteConnectionService&lt;/strong&gt; - obtaining a remote connection&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;koIFTP&lt;/strong&gt; - connection objects (contains the rename functionality)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You may also want to examine the remote drive tree extension, found here:&lt;br /&gt;
&lt;a href=&quot;http://community.activestate.com/forum-topic/remote-drive-tree-extensi&quot; title=&quot;http://community.activestate.com/forum-topic/remote-drive-tree-extensi&quot;&gt;http://community.activestate.com/forum-topic/remote-drive-tree-extensi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Todd&lt;/p&gt;
</description>
 <pubDate>Wed, 26 Sep 2007 17:57:21 +0100</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 3023 at http://community.activestate.com</guid>
</item>
<item>
 <title>The API documentation is currently in the macros section</title>
 <link>http://community.activestate.com/forum-topic/problem-find-api-documentation#comment-3022</link>
 <description>&lt;p&gt;You&#039;ll find more at&lt;br /&gt;
&lt;a href=&quot;http://aspn.activestate.com/ASPN/docs/Komodo/4.2/komodo-doc-macroapi.html#macroapi_top&quot; title=&quot;http://aspn.activestate.com/ASPN/docs/Komodo/4.2/komodo-doc-macroapi.html#macroapi_top&quot;&gt;http://aspn.activestate.com/ASPN/docs/Komodo/4.2/komodo-doc-macroapi.htm...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are currently two top-level namespaces - &quot;komodo&quot; and &quot;ko&quot;.  The old&lt;br /&gt;
&quot;komodo&quot; namespace is deprecated in favor of the &quot;ko&quot; namespace, and you&#039;ll&lt;br /&gt;
find good code-completion on the &quot;ko&quot; namespace when editing JS code.&lt;/p&gt;
&lt;p&gt;The current API is under-documented, and we&#039;re working on it.  But since&lt;br /&gt;
most of the codebase is in JavaScript and Python, you can often find the&lt;br /&gt;
functions you need by browsing it.  The IDL files in support/sdk/idl (SharedSupport/... on the Mac) that start with &quot;koI&quot; can provide a good&lt;br /&gt;
overview.  For example, once you learn that &#039;ko.views.manager.currentView&#039;&lt;br /&gt;
gives you a koIView object, you can find its capabilities in koIViews.idl.&lt;/p&gt;
&lt;p&gt;Also have a look at the extensions section of this forum, where you find&lt;br /&gt;
other macros and extensions people have posted.&lt;/p&gt;
</description>
 <pubDate>Wed, 26 Sep 2007 17:38:54 +0100</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 3022 at http://community.activestate.com</guid>
</item>
<item>
 <title>Problem to find API documentation :-(</title>
 <link>http://community.activestate.com/forum-topic/problem-find-api-documentation</link>
 <description>&lt;p&gt;Hi ActiveState guys,&lt;/p&gt;
&lt;p&gt;I&#039;m trying hard to create useful Komodo extensions for me and I hope for other people but I continue to stop my work because I miss the correct API.&lt;/p&gt;
&lt;p&gt;If I go to&lt;br /&gt;
&lt;a href=&quot;http://aspn.activestate.com/ASPN/docs/Komodo/4.2/komodo-doc-top.html&quot; title=&quot;http://aspn.activestate.com/ASPN/docs/Komodo/4.2/komodo-doc-top.html&quot;&gt;http://aspn.activestate.com/ASPN/docs/Komodo/4.2/komodo-doc-top.html&lt;/a&gt; I don&#039;t find anything useful.&lt;br /&gt;
Zero results for koDocumentService,&lt;br /&gt;
Zero results for koIOs (find a not authorized Sourceforge link)&lt;/p&gt;
&lt;p&gt;May you help me to understand where to search API?&lt;br /&gt;
I don&#039;t want to bore you with hundred stupid questions :-(&lt;/p&gt;
&lt;p&gt;Actually I have problems with remote files, I see you can rename and/or delete remote files directly from Remote File Picker Dialog but how can I use these APIs from my code?&lt;/p&gt;
&lt;p&gt;best regards,&lt;/p&gt;
&lt;p&gt;dafi&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
Davide Ficano&lt;br /&gt;
Try &lt;a href=&quot;http://dafizilla.sourceforge.net/morekomodo&quot;&gt;MoreKomodo&lt;/a&gt;&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/problem-find-api-documentation#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>Wed, 26 Sep 2007 06:42:53 +0100</pubDate>
 <dc:creator>dafi</dc:creator>
 <guid isPermaLink="false">1462 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
