helwardany / pyscripter

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

Code completion for stand-alone literals #516

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enter "Some string".
2. (Optional) Press CTRL+Space

What is the expected output? What do you see instead?
Code completion for stand alone literals is not shown.    

What version of the product are you using? On what operating system?
PyScripter 2.4.1, Python 2.7.1, WIN 7 64bit

Please provide any additional information below.

Original issue reported on code.google.com by Pavlicek...@gmail.com on 29 May 2011 at 4:50

GoogleCodeExporter commented 9 years ago
Issue 555 has been merged into this issue.

Original comment by pyscripter on 2 Sep 2011 at 10:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Like Notepad++'s word completion? (That even completes from comments.)

Original comment by CTimmerm...@gmail.com on 30 Nov 2011 at 11:37

GoogleCodeExporter commented 9 years ago
Fixed in version control.

Original comment by pyscripter on 22 Feb 2012 at 5:06

GoogleCodeExporter commented 9 years ago
Using 2.5.3.0 x86 on Windows 7, i get a blank autocomplete popup when 
completing all but the last word of:

mywordbyitself
# mywordinacomment
"mywordinastring"
mywordasvariable = 1

Original comment by CTimmerm...@gmail.com on 14 Apr 2012 at 9:35

GoogleCodeExporter commented 9 years ago
I am not sure what the issue here.  PyScripter scans the code for assignment 
statements and gets the variables names from the left hand side of the 
assignment.  Only those variables participate in the code completion.

Original comment by pyscripter on 17 Apr 2012 at 3:45

GoogleCodeExporter commented 9 years ago
That's nice, but "stand-alone literals" and "Some string" sound like any word 
to me, and sometimes i refer to variables i've commented out before. Still, why 
show a popup that doesn't contain any info?

Original comment by CTimmerm...@gmail.com on 18 Apr 2012 at 12:28