Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spyder does not autocomplete user-made functions across different files when not imported. #10922

Closed
Travis-Barton opened this issue Dec 3, 2019 · 1 comment

Comments

@Travis-Barton
Copy link

I will write a function in one file, run it so it is in my environment, and then switch tabs to another file and try to run the same function. I am not importing this new function, so I can see why the autocomplete does not recognize it. But it would be a nice feature to have!

@bcolsen
Copy link
Member

bcolsen commented Dec 5, 2019

The current default in Spyder 4 is run python scripts in a new clean namespace to prevent difficult to detect bugs.

With that in mind this likely would only be fixed when we get fallback completions from IPython.
So I am going to close this as a duplicate of #2162

@bcolsen bcolsen closed this as completed Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants