Repository navigation
Grey out missing files in the IDE's recent files lists - #805
Open
FellippeHeitor wants to merge 4 commits into
Open
FellippeHeitor wants to merge 4 commits into
FellippeHeitor wants to merge 4 commits into
Conversation
Check each recent file with _FILEEXISTS when the File menu or the Recent... dialog is shown: - File menu: missing entries are greyed out and disabled, like other unavailable menu items - Recent... dialog: missing entries are greyed out but still selectable, so the existing "Remove broken links" flow keeps working Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When all recent files fit in the File menu, there is no "Recent..." item, so the dialog's "Remove broken links" button can't be reached and missing entries (now disabled in the menu) could not be cleaned up. Show a "Remove Broken Links" item in that case, when at least one listed file is missing. It runs the existing CleanUpRecentList routine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
a740g
requested review from
QB64Petr,
RhoSigma-QB64,
SteveMcNeill,
a740g,
flukiluke,
grymmjack and
mkilgore
November 3, 2026 03:10
RhoSigma-QB64
approved these changes
Nov 3, 2026
QB64Petr
approved these changes
Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The recent files list in the File menu and in the File → Recent... dialog now shows files that no longer exist on disk (moved, renamed, deleted, or on an unmounted drive) greyed out. Each entry is checked with
_FILEEXISTSwhenever the list is shown, so it stays current.Changes
~prefix that the menu already uses for unavailable items. They're drawn greyed out and can't be selected with the mouse, the arrow keys or their hotkey.CHR$(16)+ color). They can still be selected, so opening one triggers the existing "Remove broken links from recent files?" prompt. The "Remove broken links" button works as before.CleanUpRecentListroutine.Notes
Testing
Tested in the IDE on macOS.
🤖 Generated with Claude Code