[issue24570] IDLE Autocomplete and Call Tips Do Not Pop Up

2015-07-05 Thread Alessandro Rosa

New submission from Alessandro Rosa:

I recently upgraded to Python 2.7.10 on my MacOSX Yosemite computer. I also 
added a Python 3.4.3 installation. At the time I upgraded Tcl/Tk with ActiveTcl 
8.5.18 as was suggested on the Python for MacOSX installation page.

At this point, Autocomplete and Call Tips stopped popping up. I checked the 
preferences and it seemed to be turned on. The delay was set to 2000, so I 
changed that to 2, but nothing happened. Pressing -Spacebar and then 
using the down arrow key lets me cycle through the the available functions, but 
putting a dot after an object has no effect, and if I open parentheses, I get 
no tips. This is both in the IDLE Shell and Editor windows.

I tried to redo everything by deleting all instances of Python from my drive. I 
reinstalled them, reloaded all packages, and Autocomplete and call tips still 
are not popping up. Is there any known issues or is there a workaround? Do I 
possibly need to add or change the new Tk path somewhere so that IDLE can find 
what it needs to popup autocomplete? Is there a way that I can initiate IDLE 
Autocomplete and Call Tips during the coding session to manually get them to 
work?

I am somewhat new to Python, and I often rely on the autocomplete tips to 
remind me of what I need to do or what methods are available for an object. I 
really like IDLE but it is hard for me to use without this functionality. Any 
help would be greatly appreciated.

Thank you,

--
components: IDLE, Macintosh, Tkinter
messages: 246337
nosy: Alessandro Rosa, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: IDLE Autocomplete and Call Tips Do Not Pop Up
type: behavior
versions: Python 2.7, Python 3.4

___
Python tracker 
<http://bugs.python.org/issue24570>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24570] IDLE Autocomplete and Call Tips Do Not Pop Up on OS X with ActiveTcl 8.5.18

2015-07-05 Thread Alessandro Rosa

Alessandro Rosa added the comment:

Thank you for the reply. I raised a bug with ActiveState. I am a Community 
User, so I can't access prior builds of ActiveTcl, and I am no where near 
competent enough to build up a framework.

--

___
Python tracker 
<http://bugs.python.org/issue24570>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24570] IDLE Autocomplete and Call Tips Do Not Pop Up on OS X with ActiveTcl 8.5.18

2015-07-13 Thread Alessandro Rosa

Alessandro Rosa added the comment:

Hi Terry,

I will try my best to answer your questions.

To update you, I decided to completely uninstall the ActiveState frameworks 
from my Mac. This brought me back to the dreaded Apple version of Tcl/Tk 8.5.9 
with the IDLE warning about it. At this point Autocomplete and Call Tips worked 
again. If I initialized a list and then typed a_list. then the pop up menu 
would appear for the methods associated with list. If I typed a_list.append( 
then the Call Tip with the docstring information for list.append would appear. 
(I didn't try some of the other methods that we talk about in the questions as 
I was not aware of them at the time).

I then downloaded a new installer from ActiveState for Tcl/Tk 8.5.18 and ran 
the install. I tested IDLE again, and at this point the Autocomplete pop up 
menu does not display, and the Call Tips no longer appear when I open a methods 
parenthesis.

Questions:
==
"Alessandro, you said  works,  does not.  
How about  and . The latter pair work within 
path strings when the preceding chars begin a path that exist on your system."

- 
If I type a_list. and then  no pop up menu appears, however 
when I press the Up or Down arrow keys, it cycles through the methods available 
for that object. The Autocompletes display inline, one at a time and not as a 
popup.

To expand on this, if I press  at the prompt of the IDLE 
shell or at a blank line in an editor screen the Up and Down arrow keys will 
cycle through any builtin functions, keyword arguments (mostly errors), or 
declared variables available, plus True and False.

- 
This has no effect. There is no popup window, and unlike with 
 the arrow keys move the cursor around the screen and do not 
cycle through any of the Autocomplete options.

- 
For the sake of brevity,  works the same as  does 
after a dot, so a_list. and  lets the Up and Down arrow keys cycle 
through available methods.

- 
Within a path string,  allows for the cycling through 
of the directories at that level of the path using the Up and Down arrow keys. 
As with the others, no popup menu is visible when pressing 
. (That is a handy tip I didn't know about... Thanks!)



"Alessandro, you could test by making a backup of configextensions.def and 
removing 'Release' for 'period'."

- When I do this and restart IDLE, the only difference in behavior is that 
placing a period after an object, a_list., acts like pressing  or 
 did prior to the change. It allows for the cycling through 
of methods with the arrow keys, but no popup menu.



"Alessandro, you said  does not work.  How abut 
 (after '(') to open?  Does  
close properly?"

- 
Correct. There is no Call Tips popup when I open a parenthesis after an object 
method.

- 
This has no effect.

- 
I am not sure what your question means. It works as a normal close parenthesis 
would in any text editor. If you mean does  close the 
Call Tips popup properly, then I can't say as there is no Call Tip popup 
displaying.

One thing to note, something is happening with  after a closed 
parenthesis, it is just that nothing is visible. So if I enter a_list.append() 
and then press and release the 0 key and then press the Up or Down arrow key, 
the cursor is frozen in place for the first press. Then is starts to move with 
subsequent presses. It seems like IDLE is trying to get the Call Tip, but no 
window appears to display the information.



"For both boxes, clicking on the box should also close. Does it?
What about Edit -> Show Completions and Edit -> Show calltips for opening?"

- The popup boxes do not display at all. Going through the answers I have given 
so far, it seems like IDLE is accessing the information that it needs to for 
Autocomplete (and possibly Call Tips, though I cannot see it as it is never 
displayed on screen), it is just that the display boxes do not display. Maybe 
the problem is not Autocomplete or Call Tips at all, but in the module that is 
called to display the information that they return, or a command in that module 
was renamed or deprecated?

- Edit -> Show Completions
After reverting back to the backup version of config-extensions.def, this has 
the same behavior as  and  have. Up and Down Arrow 
allows cycling through of methods, but there is no popup window visible.

- Edit -> Show calltips
This has no effect, whether it is with an open parenthesis or after the 
parenthesis has been closed.

Thank you for the reply and trying to find a solution.

~ A

--

___
Python tracker 
<http://bugs.python.org/issue24570>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com