Completer does not find imported symbols

Bug #912967 reported by Curtis Hovey
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gedit Developer Plugins
Fix Released
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

Curtis Hovey (sinzui)
Changed in gdp:
milestone: none → future
status: New → Triaged
importance: Undecided → High
assignee: nobody → Curtis Hovey (sinzui)
Revision history for this message
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)
Changed in gdp:
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in gdp:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in gdp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.