Completer does not find imported symbols

Bug #912967 reported by Curtis Hovey on 2012-01-06
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gedit Developer Plugins
High
Curtis Hovey

Bug Description

I can't see any symbol of the current imported object like :
from elixir import Unicode
Uni Ctrl+Space gives
Unicode <= it's ok
Unicode. Ctrl+Space gives
...nothing (or python snippets if the snippets plugin is enabled)

This looks like a defect in the revised PythonGenerator. A simpler test of
import os
os. Ctrl+Space
fails

Curtis Hovey (sinzui) on 2012-01-06
Changed in gdp:
milestone: none → future
status: New → Triaged
importance: Undecided → High
assignee: nobody → Curtis Hovey (sinzui)
Curtis Hovey (sinzui) wrote :

The GDP completer is not being called with <Control>+Space when I have the completer set to suggest completions. When that suggestion feature is off, the completer is called does find the symbols in the imports. Eg.

import os
from os import path
os.<Control>+space shows all the symbols in os.
path.<Control>+space shows all the symbols in os.path.

path<Control>+space (without the dot) only completes words because I have not indicated I want to see what is inside the namespace.

I think the rule to command rule to show the completer needs to ensure the completer is user_requested, or maybe I can & user_requested and interactive modes together.

Curtis Hovey (sinzui) on 2012-01-07
Changed in gdp:
status: Triaged → In Progress
Curtis Hovey (sinzui) on 2012-01-07
Changed in gdp:
status: In Progress → Fix Committed
Curtis Hovey (sinzui) on 2012-01-15
Changed in gdp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions