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
|
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
Changed in gdp: | |
milestone: | none → future |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Curtis Hovey (sinzui) |
Changed in gdp: | |
status: | Triaged → In Progress |
Changed in gdp: | |
status: | In Progress → Fix Committed |
Changed in gdp: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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 +space shows all the symbols in os.path.
from os import path
os.<Control>+space shows all the symbols in os.
path.<Control>
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.