[TxMt] some Python thoughts
Alex Ross
ajross at cs.pdx.edu
Wed Jun 11 23:06:08 UTC 2008
On Jun 11, 2008, at 3:14 PM, Allan Odgaard wrote:
> It’s about time Python saw some love with regard to TM convenience
> functions :)
>
> One thing I have learned from all the work put into the ruby support
> stuff is the importance of style guides, and that one should use all
> the module/namespace support from the language to keep it clear what
> is what, which stuff uses what, etc.
>
> So before piling stuff into tm_helpers.py, one should consider these
> things.
>
> I will work out some style guides for ruby, though not sure exactly
> when, but that might serve as inspiration. For the curious, in TM 2
> we will effectively create a new Support folder which has a more
> clear structure and less noise. Old commands will continue to see
> the old Support folder, but new commands will see the new one, so we
> can do a safe migration (technically this can be done by simple
> setting TM_SUPPORT_PATH based on the version found in the bundle
> item’s property list).
We can create a python module that mimics the ruby module for sure.
We could even create a python module parallel to the TextMate module,
even using the same directories since ruby should just ignore the
python files and vice versa.
More information about the textmate
mailing list