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

Project explorer doesn't refresh its contents #1964

Closed
spyder-bot opened this issue Feb 17, 2015 · 7 comments
Closed

Project explorer doesn't refresh its contents #1964

spyder-bot opened this issue Feb 17, 2015 · 7 comments

Comments

@spyder-bot
Copy link
Collaborator

From [email protected] on 2014-09-12T11:37:22Z

There is no refresh button for the project. If the folder was changed outside of spyder then it can't pick up the change. In many cases it is necessary to modify the files by some external program (such as source control)

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1964

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-11-18T15:42:33Z

Labels: Cat-ProjectExplorer MS-v2.4

@goanpeca goanpeca self-assigned this Apr 12, 2015
@dzosz
Copy link
Contributor

dzosz commented Jan 23, 2016

still no refresh : (

@ccordoba12
Copy link
Member

As you can see, this bug is still open, so it hasn't been fixed :-)

@ccordoba12 ccordoba12 modified the milestones: v3.0, v3.0beta4 Jan 27, 2016
@ccordoba12 ccordoba12 modified the milestones: v3.0beta5, v3.0beta6 Aug 8, 2016
@ccordoba12 ccordoba12 changed the title Refresh button for the project Project explorer doesn't refresh its contents Aug 29, 2016
@dignitas123
Copy link

It's not very convenient to restart spyder everytime a file name has been updatet. Voting for a refresh option!

@ccordoba12
Copy link
Member

@dignitas123, what's your Spyder version? As you can see, this was fixed a long time ago.

@AndrewYRevell
Copy link

On Spyder 4.1.4 - still an issue it seems. I'm new to Sypder and coming from PyCharm. They have a "sync to disk" option when right clicking a folder in their own version of a project explorer. Is there a force refresh button and I'm just missing it somewhere?

@jmoraispk
Copy link

I would reopen this issue. I found a set of actions that make a folder not update its contents.

1- create a function that saves an array to a folder, and creates the folder if it doesn't exist.
2- run in the cwd. A folder is created and the array goes inside it. We see in Spyder's explorer that a new folder appears and, say, array x is saved as x.npy and put inside that folder.
3- click on that arrow on Spyder's file explorer to expand the contents of a folder
4- run the function again, but change the name of the array file. Say, array y is saved as y.npy. Notice now that the folder contents are not updated, but if you open your OS's file explorer, you can see the contents there.

This seems a simple issue, but it definitely exists and can be quite confusing. I'm using Spyder 5.0.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants