RE: [Pydev-code] Templates
Brought to you by:
fabioz
|
From: Dana M. <dan...@ya...> - 2004-08-10 16:41:31
|
--- Fabio Zadrozny <fa...@in...> wrote:
> It's ok... It happens...
>
> Hey Dana, the autocompletion only works for '.' right? (I removed the
> other
> from the code as I couldnt get them to work and it was annoying me
> having
> to wait and having nothing shown).
>
That's weird. "(" works last night as well.
so in your example iff I type "foo.", I get the '.' conpletions and if
I further type "foo.abbb(" I will get ")" suggested as a completion.
Perhaps a code regression between dawn and now :-)
I will look at tonight after work and a guitar gig I have and check in
a fix (but that definitely should work!)
> I also cached the results for code completion and made it work
> partially...
>
> This means:
>
> If you have
>
>
> Class Foo:
>
> def abbb(self):
> pass
>
> foo = Foo()
> foo.a <- shows abbb (it was only showing when it was in '.')
> And deleting a shows all functions available...and putting it again
> shows
> only abbb. I has to cache the results because this could get really
> slow.
>
Ya, tht cache is a very smart idea and partially responds to the Aleks
concern about the potential 'weight' of the solution. I/we should make
that fully work. very nice.
> And congratulations...it's working very well... (I have some
> observations on
> it, but I'll pass it to you later).
>
> []s
>
> Fabio Zadrozny
> ------------------------------------------------------
> Software Developer
> ESSS - Engineering Simulation and Scientific Software
> www.esss.com.br
>
>
> -----Original Message-----
> From: pyd...@li...
> [mailto:pyd...@li...] On Behalf Of Dana
> Moore
> Sent: terça-feira, 10 de agosto de 2004 11:40
> To: pyd...@li...
> Subject: RE: [Pydev-code] Templates
>
> Sorry if my check in removed that.
> I tried to be careful in diff/merging but maybe that swept away.
> I guess there's always a bit higher danger if two people are hacking
> the
> same module at the same time.
> My apologies is that's what happened.
>
> --- Fabio Zadrozny <fa...@in...> wrote:
>
> > Well, I just checked it and it's not working (I had used the same
> > completion processor class Dana used, so, it is not working because
>
> > templates were removed from the class... I will correct it and
> check
> > it in...)
> >
> > []s
> >
> > Fabio Zadrozny
> > ------------------------------------------------------
> > Software Developer
> > ESSS - Engineering Simulation and Scientific Software
> www.esss.com.br
> >
> >
> > -----Original Message-----
> > From: pyd...@li...
> > [mailto:pyd...@li...] On Behalf Of Fabio
> > Zadrozny
> > Sent: terga-feira, 10 de agosto de 2004 08:14
> > To: pyd...@li...
> > Subject: RE: [Pydev-code] Templates
> >
> > Templates works in the same manner that autocompletion does, so,
> just
> > Ctrl+Space and it should show the templates you defined in the
> > templates
> > page (on the pydev preferences, now, there should be a templates
> page,
> > were you can add/edit/remove any template).
> >
> > []s
> >
> > Fabio Zadrozny
> > ------------------------------------------------------
> > Software Developer
> > ESSS - Engineering Simulation and Scientific Software
> www.esss.com.br
> >
> >
> > -----Original Message-----
> > From: pyd...@li...
> > [mailto:pyd...@li...] On Behalf Of Aleks
> > Totic
> > Sent: segunda-feira, 9 de agosto de 2004 21:41
> > To: pyd...@li...
> > Subject: Re: [Pydev-code] Templates
> >
> > Neat. I've never used templates before. How do I activate them in
> in
> > the editor?
> >
> > Aleks
> >
> > Fabio Zadrozny wrote:
> >
> > > Hi All,
> > >
> > > I've just added the templates preferences pages and the templates
>
> > > support to our plugin.
> > >
> > > If anyone wants to add more templates to the default templates,
> > that
> > > would be a great idea...
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank
> Media
> > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save
> > 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> > _______________________________________________
> > Pydev-code mailing list
> > Pyd...@li...
> > https://lists.sourceforge.net/lists/listinfo/pydev-code
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank
> Media
> > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save
> > 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> > _______________________________________________
> > Pydev-code mailing list
> > Pyd...@li...
> > https://lists.sourceforge.net/lists/listinfo/pydev-code
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank
> Media
> > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save
> > 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> > _______________________________________________
> > Pydev-code mailing list
> > Pyd...@li...
> > https://lists.sourceforge.net/lists/listinfo/pydev-code
> >
>
>
> =====
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> _/ Dana Moore _/
> _/ BBN Technologies LLC _/
> _/ M: 240.350.4196 _/
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank
> Media 100pk
> Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50%
> off
> Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Pydev-code mailing list
> Pyd...@li...
> https://lists.sourceforge.net/lists/listinfo/pydev-code
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank
> Media
>
=== message truncated ===
=====
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Dana Moore _/
_/ BBN Technologies LLC _/
_/ M: 240.350.4196 _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
|