why does the my work didnt auto delet (the notebook in My work is already deleted by myself)
The source file has been deleted by me, but it is still displayed.
Hello!
I think it may be difficult to answer the question without more details. Could you provide a step-by-step description of the actions you took to delete the notebook, and check if doing it with another notebook results in the same?
Some code snippets and snapshots could be useful
Pluto will display a record of recently opened files, but even if I delete the source file, it still shows up.
Yes, that seems to be a known issue, see for example Remove stale 'recent' notebooks ¡ Issue #877 ¡ fonsp/Pluto.jl ¡ GitHub
Must l alway do this ? so terrible! why dosent pluto add âdeleteâ ?
As there is an open issue about this, you are not the first to ask for this.
I am not sure why Pluto does not offer this (yet); maybe no one had time until now to program that? Maybe they have not yet agreed on how to best include this feature?
Maybe it is a mix of both and they would need someone to help out, program that to propose an idea (and a Pull Request).
For what itâs worth, if youâre willing to use the browserâs Javascript console, you can fix up that list as you like. The list is in the browserâs localStorage object. Open the console from the Pluto notebook page, and do:
localStorage.getItem("recent notebooks")
That gives you a string of JSON-formatted data with the list of recent notebooks. Copy that, edit as you like, and then put it back into the local storage:
localStorage.setItem('recent notebooks', '["/path/one.jl","/path/two/another.jl"]');
Refresh the page and the list will be updated.
It would be nice if Pluto had a little editor for that list â give me a table, and let me delete entries.
Just a note: in newer versions of Pluto, they donât use the browserâs local storage for this, so the above bits about the Javascript console are moot; see Remove stale 'recent' notebooks ¡ Issue #877 ¡ fonsp/Pluto.jl ¡ GitHub .
Thereâs now a âforgetâ button in the list of recent notebooks, or, if you still want to manually fiddle with that, you can look in julia/pluto_notebooks
.
That button solves it for me, great addition!
While I can hack a bit with JS, I usually prefer to to.
Iâm pretty sure it still uses localstorage.
This folder stores the notebooks themselves, unless you specify the path explicitly. But it doesnât have anything to do with the ârecent notebooksâ list.
That seems indeed: