masroore / pyscripter

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

Option: Code Completion as you type #473

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to be able to set an option so that the code completion window appears 
as soon as I start typing additional non-whitespace characters into the editor, 
with a list of alphabetized tokens. As I type, the highlight in the code 
completion window would change to select the closest matching token, ignoring 
case. 

* I can change the selection in the code completion window at any time using 
the up and down arrow keys. 
* I can close the code completion window and discard the code completion by 
pressing ESC, or by moving the editor caret
* I can close the code completion window and apply the code completion by 
pressing TAB or ENTER
* I can close the code completion window, apply the code completion, and enter 
a space by pressing SPACE

The free Microsoft Visual C# 2008 Express Edition is my reference for this 
enhancement request.

Original issue reported on code.google.com by register...@gmail.com on 23 Jan 2011 at 8:40

GoogleCodeExporter commented 9 years ago
I especially insist on case insensitive code completion. Due to that, I prefer 
PyDev

Original comment by bloodyro...@gmail.com on 6 Apr 2011 at 12:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by shahbazi...@gmail.com on 7 Jun 2011 at 3:38

GoogleCodeExporter commented 9 years ago

Original comment by shahbazi...@gmail.com on 5 Jul 2011 at 4:23

GoogleCodeExporter commented 9 years ago
This creates a problem when writing the line:
a= 23

After entering the first two characters, abs= appears on he screen.

For the PEP 8 purist, type the two characters a and space at the start of a 
line and abs 'space' appears.

Work around:  Blank out the Auto Complete with one entry.

Original comment by cjwillia...@gmail.com on 5 Dec 2011 at 9:45

GoogleCodeExporter commented 9 years ago
In the first place, spacebar shouldn't be a completion selection function.

Original comment by zura.khe...@gmail.com on 5 Dec 2011 at 9:51

GoogleCodeExporter commented 9 years ago
There is an IDE option (Tools, Options, IDE Options) called "Complete with 
word-break characters"  Disable it if you want.  For further explanations read 
http://pyscripter.blogspot.com/2011/08/code-completion-improvements.html

Original comment by pyscripter on 5 Dec 2011 at 10:58