[TxMt] Re: Magento User Poll

Timothy Rhodes phoenixevolution at gmail.com
Thu Mar 18 22:36:03 UTC 2010


I use the auto complete dialog. 

I have a cacher I wrote. Magento is too slow to parse the files everytime. 5K classes with a base install. I use php's token_get_all to grab the tokens of a file and then I just cache the tokens I'm interested in. The caching process takes about 30 seconds. 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.png
Type: image/png
Size: 59979 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20100318/e8099a06/attachment.png>
-------------- next part --------------


The classes would be something like Mage_MoneyBookers_Model_Abstract, I have to make the class names lower case and remove the mage and model on the fly.  

Timothy


On Mar 18, 2010, at 5:00 PM, Mario Kuroir Ricalde wrote:

> I'm working on a autocompletion intellisense (code aware) bundle; maybe my work can help you out,  do you use DIALOG for displaying the autocompletion options? or you use pure snippets?
> 
> On Mar 18, 2010, at 1:49 PM, Timothy Rhodes wrote:
> 
>> I'm working on a magento bundle. It is currently on github and getbundles can install it. 
>> 
>> so of my work has over lapped with the php completion bundle but some has not.
>> 
>> The php completion bundle won't be able to auto complete for Mage::getSingleton('catalog/product');
>> 
>> Since in magento you use the factory pattern a lot I build my own bundle. What I'm looking for is how many users use magento and what features of a bundle would they like?
>> 
>> The current bundle does the following:
>> 1. Auto complete for classes used in factory methods aka Mage::getSingleton({the classes here});
>> 2. Takes you to a definition of a class
>> 3. Tab trigger for <?php echo $this->__('$1'); ?>$0 
>> 
>> 
>> The next version will do:
>> 1. Show parent inheritance (80% done)
>> 2. Auto complete for the Mage class (100% done)
>> 3. Take the user to the Magento online class documentation. 
>> 
>> 
>> 
>> Timothy
>> 
>> 
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
> 
> - Mario "Kuroir" Ricalde
> 
> 
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list