RE: [Pydev-code] Autocompletion - couple adds
Brought to you by:
fabioz
From: Fabio Z. <fa...@in...> - 2004-08-11 19:07:50
|
Dana, The code completion for ' and " and ( is not really a code completion as we are doing, I think it is implemented easier as a new keybinding, so that putting ' already closes it (and puts the mouse in the correct position), as for " and (. I also think it is much faster this way... It is basically what I did for backspace, so that it grabs backspace and deletes a custom number of characters, you would grab the ' keystroke and make it add '' If it is well implemented, doing it for 1 is the same as doing it for all... The worse part is putting that keybindings in the plugin.xml... Or maybe you don't even have to put it in the plugin.xml, just put them in PyEdit.createActions... (editing xml sucks)... []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: quarta-feira, 11 de agosto de 2004 15:04 To: pyd...@li... Subject: [Pydev-code] Autocompletion - couple adds Fabio, Very nice refactoring! I just checked in a fresher version of: o org.python.pydev\src\org\python\pydev\editorPyEditConfiguration (new revision: 1.17) This simply shortens the autoactivation delay interval for zippier performance o org\python\pydev\editor\codecompletion\{PyCodeCompletion, PythonCompletionProcessor}.java to reapply autoactivation on "(" o org.python.pydev/plugin.xml new revision: 1.32; this adds a couple new (possibly useful) templates Something that just occurs to me is that we ought to also do some other useful 'completions' as well - for example, in the JDE, when you type in the single apostrophe character ('), a mathing one is emitted right behind it; when you type in the double apostrophe character (") , a mathing one is emitted right behind it; I will look to addingthat tonight. Best, ===== _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Dana Moore _/ _/ BBN Technologies LLC _/ _/ M: 240.350.4196 _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! 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 |