Has anyone figured out how to write an extension for Komodo Edit 6 in Python?
It's hard to say what you need to know, because if you have a Firefox Extension background email, moving to Komodo will be easier. If not, I would recommend a Mozilla resource, for example https://developer.mozilla.org/en/Building_an_Extension first get convenient written extensions.
The next step, I would look at the extensions at http://community.activestate.com/addons , and look at the source of interest to you.
If you are adding a user interface, you need to know the identifiers of the elements you want to add an overlay. You can find this information at http://svn.openkomodo.com/openkomodo/browse/openkomodo/trunk/src/ - most of the identifiers you need will be http://svn.openkomodo.com/openkomodo/view/ openkomodo / trunk / src / chrome / komodo / content / komodo.p.xul
The DOM inspector will also help you find these items.
There are two variants of Komodo venerable Mozilla extensions that I find indispensable - Venkman (JS debugger) and Extension Developer Extension . You will find them on the addon site above.
You mentioned that you want to write an extension in Python. This was done, but accessing the interface is much easier in JavaScript (and sometimes it can only be done in JS). python is great for writing components that don't need access to the user interface โ you'll find them in other extensions in pylib components and directories.
Komodo also comes with project templates for writing Komodo extensions. He will build the โHello Worldโ extension out of the box, so you can use it as a springboard for your own work. But I would not miss these steps and would not jump directly at him.
Best place for further information: http://community.activestate.com/forums/komodo-extensions
Good luck Eric
In addition to the good pointers provided by Eric, see Getting Started with Python Extensions . I wrote it for Komodo Edit 7, but I probably mostly apply to version 6. (Please edit the wiki text if it needs version-specific fixes.)
Source: https://habr.com/ru/post/1342869/More articles:Insert or update using Oracle and PL / SQL - sqlGrails redirect - why is it always absolute? - redirectWhy should I reference the ExceptionHandling.Logging DLL in client code? - c # -4.0Is there a compiler switch to disable Generics support in C #? - genericsBinding JVM with non-standard IP address - javaCode Contracts, Null Checks, and Values โโ/ Reference Types - nullPython / Numpy - set values โโwithin some value to value - pythonmeta http-equiv - sent as part of an HTTP header, or does the client parse the body for meta tags? - httphttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1342873/what-would-be-the-best-approach-of-adding-100000-records-to-a-mysql-database-via-php&usg=ALkJrhjdZ1neBzomYG34t9rQdvSjyZ_cvgFind the length / size of an integer array - javaAll Articles