[TxMt] Re: Plug-in API
louis.abraham at polytechnique.edu
Sat Dec 12 19:26:07 UTC 2015
Thank you for your answer. I think that TextMate 1 did load the Objective-C files in a PlugIns folder, but TextMate doesn't seem to do the same.
How can I load an existing plugin ?
> Le 1 nov. 2015 à 20:33, Jacob Carlborg <doob at me.com> a écrit :
> On 2015-11-01 18:13, Louis Abraham wrote:
>> I was wondering if there is still an API to write Plug-ins for TextMate because I would like to create a Python debugger plug-in.
> There has never been a proper API. The only thing that has been supported was to actually load plug-ins, and that's it.
> The way plug-ins work in TextMate is through Objective-C method swizzling. That is, replace existing methods with your own implementation. This is actually a lot easier now in TextMate 2 since it's open source.
> BTW, if you manage to implement a plug-in for this (or a fork) perhaps this could be generalized to create a debugger API for other plug-ins as well.
> /Jacob Carlborg
> textmate mailing list
> textmate at lists.macromates.com
More information about the textmate