threefoldtecharchive / jumpscaleX_archived

Apache License 2.0
1 stars 6 forks source link

autocompletion does not work for certain cases #688

Closed despiegk closed 5 years ago

despiegk commented 5 years ago

image

abom commented 5 years ago

Which branch?

On development, docstrings are not working (fixed in #689), but auto-completion works fine.

Screenshot from 2019-07-08 10-53-08

abom commented 5 years ago

Testing on development_jumpscale, it's working, thing's has changed in JSBase, i need more clarification of what's actually needed by these changes to get the right fix and to know where is the problem exactly (auto-completion code or new JSBase methods to list members...etc).

abom commented 5 years ago

@despiegk Also, you disabled debug logs if any errors occurred when trying to get auto completions by using _in_autocomplete flag again, which i've already removed, we can improve it by only logging errors in debug mode, not disabling it at all.

despiegk commented 5 years ago

in autocompletion mode nothing should ever print to the stdout otherwise you get very ugly behaviour errors we do (raise error) because there there is no choice the aim was to do it in the debug window but that never worked properly

Dina-Abd-Elrahman commented 5 years ago

Branch: jumpscale_development .

Commit ID: cd38553270bcb29e7cee2e348f39483cb1993823 , 8e8c6f0c864cf2a782546521d074c04ba1e88a8d .

j.tools.logger.debug = False
j.tools.logger.debug = True