-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Recently opened: diff editors are not properly excluded when closed #157395
Comments
It's been a week without any message, will this issue ever gonna be considered? |
Hey sorry. I was on vacation. Something I'm curious about... if you add this to |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
upvotes needed |
This is not a big problem, but in some circumstances, it would be typically annoying. I found out VS Code has a mode called protected mode or isolated mode. When you open a unknown source file, it usually opens in that mode. So, hope that will help. |
冒泡 |
吐泥老师这个要点哪个 |
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Do I understand #161300 correctly that this feature will not be allowed to progress? This would be neat to have as a plugin I use to view git history fills the quick open with temp files. |
I guess the feature is allowed, it's just making I was thinking about plugins before, but I don't think plugins can change anything in the quick open history, and that's why I opened this issue at the first place And about a new PR, I'm not sure how to add a config properly (considering we need translations as well) right now, so... |
Related: #16226. Also loosely related on Stack Overflow: How can I exclude files from "Go to File" (Quick Open) in Visual Studio Code? |
According to #6502, it's supposed to, is it not? |
Can I still upvote please? :) |
"search.quickOpen.includeHistory": false |
With the changes in #203872, |
@bpasero the extension I'm authoring saves temp files under
I consider this a bug. The effect of setting Additional info:
|
The current solution is pretty much the same as #161300, to be honest, if they function differently, I think a separate setting may work better (don't get me wrong, I'm fine with the current solution, just a suggestion) |
@maninak as long as the editor is opened, it will appear in the recently opened list, once you close the editor it will be gone. This was discussed in the linked issue. The reason is that the recently opened list is also used to navigate between opened editors and thus supports this irrespective of the setting for opened editors. |
yup that's fully understood and makes sense.
You see that's unfortunately not the case though. Please carefully read the precise repro steps I shared above. When you do, you will notice that the observed actual behavior that I'm reporting is not aligned with the expectations you and I both have. Here, I'll show it in video form too. TL;DW: after closing the diff editor, the two temp and search.excluded files show up in the recently opened list. Peek.2024-04-28.12-07.mp4 |
I can confirm for the diff editor case, looks fishy tbh, will have a look. |
This bug has been fixed in the latest release of VS Code Insiders! @Legend-Master, you can help us out by commenting If things still don't seem right, please ensure you're on version 00bc155 of Insiders (today's or later - you can use Happy Coding! |
/verified |
Yeah, I know there's an option
search.quickOpen.includeHistory
, but I don't wanna get rid of all of them, just a few foldersLike
**/AppData/Local/Temp/**
, so I won't be bothered to clean them up, since there's really no point of keeping those temp files in the quick open history, you can't open them up ever again most of the time anywayI know
files.exclude
, but it doesn't seems to exclude things from the historyThe text was updated successfully, but these errors were encountered: