Tab-completion only available when entering the debug mode for some python packages.
Hi,
I try to run the AiiDA-core python package with the example given here.
According to the instructions here: https://aiida.readthedocs.io/projects..., I can use the verdi shell
command to invoke a ipython shell which can do the completions correctly.
But when I edit the above mentioned script with wing, then the corresponding completions will be disabled. Say for the following code snippets:
from aiida import load_profile
load_profile()
from aiida.engine import submit
from aiida.orm import load_node, Code, Dict
code = Code.get_from_string("wannier90-3.1.0-wannier-manual") # REPLACE <CODE LABEL>
# Prepare the builder to launch the calculation
builder = code.get_builder()
All of the builder.* part will not have completion suggestions. On the other hand, if I put the cursor at the end of the above code block and then running the code with Debug to Cursor ( Alt + F5 ). At the end, the corresponding completions will be enabled.
But how to enable the tab-completion without entering the debug mode?
Any hints for this problem?
Regards
Comments