Re: [Bf-committers] Text Editor - Auto Complete

2010-12-12 Thread Alex Fraser
On Sat, Dec 11, 2010 at 1:48 PM, Alex Fraser a...@phatcore.com wrote: we could generate predefined completion files for Pydev:    http://pydev.org/manual_101_interpreter.html#id2 [...] it could be generated using introspection from a running game. Here is a game that does that:

[Bf-committers] Text Editor - Auto Complete

2010-12-09 Thread Justin Dailey
pHello all,br I am curious about the auto complete functionality in the text editor. It seems to me several of the needed peices are present for getting the suggested items (the console presently does this) and drawing the list (text_python.c?)./p pIs this a feature that just hasn't gotten added

Re: [Bf-committers] Text Editor - Auto Complete

2010-12-09 Thread Campbell Barton
On Fri, Dec 10, 2010 at 12:43 AM, Justin Dailey dail8...@yahoo.com wrote: pHello all,br I am curious about the auto complete functionality in the text editor. It seems to me several of the needed peices are present for getting the suggested items (the console presently does this) and drawing

Re: [Bf-committers] Text Editor - Auto Complete

2010-12-09 Thread Justin Dailey
Campbell,I see what your saying about the dictionary based approach -- suggest variables, functions, ect from the file itself. But what about also using something similar to the console space...thus if you type bpy. and ask for auto complete it will give the options app, data, ... or in other

Re: [Bf-committers] Text Editor - Auto Complete

2010-12-09 Thread Campbell Barton
On Fri, Dec 10, 2010 at 1:17 AM, Justin Dailey dail8...@yahoo.com wrote: Campbell,I see what your saying about the dictionary based approach -- suggest variables, functions, ect from the file itself. But what about also using something similar to the console space...thus if you type bpy. and

[Bf-committers] Text Editor - Auto Complete

2010-12-09 Thread Justin Dailey
pCampbell,br Thanks for that explaination. It makes sense now about the console. I'll look into the dictionary based approach for now to see what I come up with. I may have some questions in the future. /p pThanks for your help,br Justin Dailey/p

Re: [Bf-committers] Text Editor - Auto Complete

2010-12-09 Thread Daniel Salazar - 3Developer.com
Justin can you format your mails in plain text and not in html please? cheers Daniel Salazar On Thu, Dec 9, 2010 at 8:03 PM, Justin Dailey dail8...@yahoo.com wrote: pCampbell,br Thanks for that explaination. It makes sense now about the console. I'll look into the dictionary based approach

[Bf-committers] Text Editor - Auto Complete

2010-12-09 Thread PabloVazquez.org
personally I prefer simple 'dictionary' based auto-completion since the python parsing didn't always work right in my experience. Rather then trying to be too smart - just gather all unique words used in the text and auto-completion based on that. Just my two cents, 2.4's method also didn't

Re: [Bf-committers] Text Editor - Auto Complete

2010-12-09 Thread Damir Prebeg
Just a brainfart... I wonder how hard it would be to implement Scintilla in Blender? On 10 December 2010 08:16, PabloVazquez.org venom...@gmail.com wrote: personally I prefer simple 'dictionary' based auto-completion since the python parsing didn't always work right in my experience.