cmullins7 / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Autocompletion does not recognized variables declared in multiline assignments #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In the editor window type a multiline assignment like this:
SCR_LEFT, SCR_TOP, SCR_RIGHT, SCR_BOTTOM,\
SCR_TEXTATTR, SCR_NORMATTR, SCR_VIDEOMODE,\
SCR_HEIGHT, SCR_WIDTH,\
SCR_CURX, SCR_CURY = [1,2,3,4,5,6,7,8,9,10,11]

2. pressing CRTL+SPACE only SCR_CURX, SCR_CURY are listed in dropdown menu

3.

What is the expected output? What do you see instead?
I would expect to has all declared variables in the dropdown menu

What version of the product are you using? On what operating system?
Pyscripter 1.9.9.2, win xp pro sp2

Please provide any additional information below.

Original issue reported on code.google.com by dghela...@gmail.com on 6 Aug 2008 at 7:38

GoogleCodeExporter commented 9 years ago
Please note that code completion in the editor as
opposed to code completion in the interpreter (in which case we use live 
objects) 
will never be perfect, since it is based on parsing the source files

This is a rare case where you do not get the right result and I think it is not 
worth
dealing with it and making completion slower.

Original comment by pyscripter on 10 Aug 2008 at 10:54